[LARTC] (simple?) iptables question

Joost Kraaijeveld J.Kraaijeveld at Askesis.nl
Thu Sep 21 08:18:43 CEST 2006


On Thu, 2006-09-21 at 08:10 +0200, Joost Kraaijeveld wrote:
> I thought that this would do the trick:
> 
> ....
> iptables -A POSTROUTING -s 10.20.1.0/24 -d 192.168.0.0/16 -j RETURN
> iptables -A POSTROUTING -s 10.20.1.1   -o eth1 -j SNAT --to-source 172.16.0.1

I forgot the -t nat in the commands above.

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl


More information about the LARTC mailing list