OpenVPN Setup tips


To send all traffic over an established VPN connection:

sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
sudo -s echo “1″ > /proc/sys/net/ipv4/ip_forward
sudo openvpn /etc/openvpn/server.conf

     
  1. #1 by bob on August 2, 2010 - 12:44 pm

    This is cool. How do you implement this on Ubuntu?

  2. #2 by Fauna on August 2, 2010 - 12:47 pm

    I think you do it with yum or some other package manager.

(will not be published)