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
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
This entry was posted on May 24, 2010, 3:13 am and is filed under Zend Framework. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^
#1 by bob on August 2, 2010 - 12:44 pm
This is cool. How do you implement this on Ubuntu?
#2 by Fauna on August 2, 2010 - 12:47 pm
I think you do it with yum or some other package manager.