Open VPN Install 24.04LTS

From ScottWiki
Revision as of 23:37, 12 March 2024 by Wikiadmin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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