installing_openvpn_on_ubuntu_8.04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
installing_openvpn_on_ubuntu_8.04 [05.02.2010 22:46] Pascal Suterinstalling_openvpn_on_ubuntu_8.04 [05.02.2010 22:46] Pascal Suter
Line 37: Line 37:
 apt-get install iptables apt-get install iptables
 echo 1 > /proc/sys/net/ipv4/ip_forward echo 1 > /proc/sys/net/ipv4/ip_forward
-iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j+iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
 </code> </code>
 put the last two lines in your /etc/rc.local if you want this service to be available after the next reboot again put the last two lines in your /etc/rc.local if you want this service to be available after the next reboot again
  • installing_openvpn_on_ubuntu_8.04.txt
  • Last modified: 29.09.2012 10:41
  • by Pascal Suter