[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Redirect-gateway iptables entry


  • Subject: [Openvpn-users] Redirect-gateway iptables entry
  • From: Paul Gregory <paul@xxxxxxxxxxxxxx>
  • Date: Tue, 03 Apr 2007 19:39:15 +0100

So I have the "redirect-gateway def1" option working ok but every time I reboot my server I have to run the following command. Is there any way to permanently add this 

iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth1 -j MASQUERADE

Running on openSuSE 10.2

Thanks



______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users