Re: VPN Server?
Set the options below in /etc/openvpn/server.conf, adjusting to your needs
Originally Posted by d4m1r
Make sure IP Forwarding (net.ipv4.ip_forward) is set to "1" in /etc/sysctl.conf
push "dhcp-option DNS 188.8.131.52"
push "dhcp-option DNS 184.108.40.206"
#Push all traffic through openvpn
push "redirect-gateway def1 bypass-dhcp"
#Push the 192.168.0.0 subnet to VPN client
push "route 192.168.0.0 255.255.255.0"
Make sure you have an iptables rule to route traffic to (ip is the static IP of your openvpn host)
-A POSTROUTING -s 192.168.10.0/24 -j SNAT --to-source 192.168.0.24
Ubuntu Forums Moderation Staff
Okay then. We're relying on mirror dust and fairies but now we have a plan which is progress - Emma