OpenVPN Server on NemsLinux.

Have you done something on your NEMS server to make it more usable for yourself? Want to share your code? I'd love for you to share and may include your ideas in future releases of NEMS.
Post Reply
Toxic
Junior Member
Posts: 19
Joined: Fri Sep 14, 2018 1:57 pm

OpenVPN Server on NemsLinux.

Post by Toxic »

I have managed to install and OpenVPN via a script from GitHub. This allows your NemsLinux Server to become a OpenVPN Server and allow remote access via VPN to your Network devices.

The script and install instructions are available here:

https://github.com/Nyr/openvpn-install

run the command: 

Code:

Code: Select all

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
and then follow the prompts. The script will create a *.OVPN file in the /root folder.  Export this OVPN file to your client device.  

Whatever port you have selected - 1194 UDP being the Default port - you will need to port forward this port number to your NEMSLinux IP address from your WAN interface on the Router

on your client PC (remote site)  you need to install OpenVPN Client. https://openvpn.net/community-downloads/

once the client is installed, import the OVPN file using the client software. You can then connect to the NEMSLinux Server from your client over a Secure VPN connection.

I think this script will be an excellent feature to be included in NEMSlinux.
Last edited by Toxic on Mon Apr 29, 2019 7:24 am, edited 1 time in total.

andrespq
Junior Member
Posts: 1
Joined: Thu May 02, 2019 7:16 pm

RE: OpenVPN Server on NemsLinux.

Post by andrespq »

i tried to use it but the network is hardcoded to 10.8.0.x/24 and creates several iptable rules. Using the script like this only grants access to the local machine and not to the whole network.

Also tried this one http://www.pivpn.io/ but could not  run the config .
Last edited by andrespq on Thu May 02, 2019 7:30 pm, edited 1 time in total.

Post Reply