There is a patch-o-matic patch called SAME which does 1:1 NAT. iptables -t nat -A POSTROUTING -o eth1 -s 192.168.0.0/24 -j SAME 196.4.160.0/24 I forget the exact syntax .... On Tue, 2003-01-21 at 18:00, Mike wrote: > Can anyone point me to some docs on setting up 1:1 NAT on netfilter? > > What I am trying to do is like how its done on cisco PIX i.e > "static (inside,outside) 208.15.232.12 192.168.1.167 netmask 255.255.255.255 > 0 0" > > That way I don't have to do IP alias on my ethernet card. > > Thanks, > > Mike -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( Raymond Leach ) ) Knowledge Factory ( ( ) ) Tel: +27 11 445 8100 ( ( Fax: +27 11 445 8101 ) ) ( ( http://www.knowledgefactory.co.za/ ) ) http://www.saptg.co.za/ ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o o o o .--. .--. | o_o| |o_o | | \_:| |:_/ | / / \\ // \ \ ( | |) (| | ) /`\_ _/'\ /'\_ _/`\ \___)=(___/ \___)=(___/
Attachment:
signature.asc
Description: This is a digitally signed message part