Sunday, July 08, 2012

Re: Alternate route for port 80

I just used:

# iptables -t nat -A POSTROUTING -o tap0 -j MASQUERADE

And it worked, thanks.

On Sun, Jul 08, 2012 at 20:49:08 +0200, Pascal Hambourg wrote:
> 1) You need a SNAT/MASQUERADE iptables rule for traffic going through
> the VPN so that it goes out with the address assigned to the VPN
> interface as the source address, otherwise the packets will have the
> default source address, i.e. the one assigned to the default internet
> interface.


--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120708190328.GC2192@ev.onur.im

No comments:

Post a Comment