Open VPN Install

From ScottWiki
Jump to navigation Jump to search
apt install openvpn

copy back the etc files from the openvpn backup including all the RSA params etc.

systemctl enable openvpn@solaris
systemctl enable openvpn@solarisgaming


service openvpn start


Add a static route on the main router so the OpenVPN traffic can route for the 10. network

Network 	Subnet mask 	Gateway 	
10.3.0.0	255.255.255.0	192.168.3.200


Make sure the OpenVPN server has IP forwarding turned on.

nano /etc/sysctl.d/localforwarding.conf

Add this to the file

net.ipv4.ip_forward=1

Save and restart process

systemctl restart procps.service