Open VPN Install 24.04LTS: Difference between revisions

From ScottWiki
Jump to navigation Jump to search
(Created page with " 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 <pre> Network Subnet mask Gateway 10.3.0.0 255.255.255.0 192.168.3.200 </pre> Make sure the OpenVPN server has IP forwarding turned on. nano /etc/sysctl.d/localforwarding...")
 
No edit summary
Line 19: Line 19:
Make sure the OpenVPN server has IP forwarding turned on.
Make sure the OpenVPN server has IP forwarding turned on.


  nano /etc/sysctl.d/localforwarding.conf
  nano /etc/sysctl.d/local.conf


Add this to the file
Add this to the file

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

Add this to the file

net.ipv4.ip_forward=1

Save and restart process

systemctl restart procps.service