Open VPN Install 24.04LTS: Difference between revisions

From ScottWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
copy back the etc files from the openvpn backup including all the RSA params etc.
copy back the etc files from the openvpn backup including all the RSA params etc.


systemctl enable openvpn@solaris
  systemctl enable openvpn@solarisgaming
  systemctl enable openvpn@solarisgaming



Revision as of 14:43, 19 March 2024

apt install openvpn

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

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/local.conf

Add this to the file

net.ipv4.ip_forward=1

Save and restart process

systemctl restart procps.service