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

Re: [Openvpn-users] change outgoing nat interface

  • Subject: Re: [Openvpn-users] change outgoing nat interface
  • From: "Pasquale Fiorillo" <sid.pasquale@xxxxxxxxx>
  • Date: Sat, 26 May 2007 16:08:03 +0200

i think that you can use dnat/snat instead masquerading:

  iptables -t nat -A POSTROUTING -s -j SNAT --to x.x.x.x
  iptables -t nat -A PREROUTING -d x.x.x.x -j DNAT --to

x.x.x.x: public ip of eth1:7

sorry, i'm not sure about --to target in DNAT rule..
OpenVPN mailing lists