Date: Thu, 22 May 2003 04:21:26 GMT From: vikashb@mweb.co.za To: freebsd-questions@freebsd.org Subject: NAT on two interfaces Message-ID: <E19IhVM-00022s-00@laibach.mweb.co.za>
next in thread | raw e-mail | index | archive | help
Greetings, I currently have a server that with two NICS (fxp0 and xl0) performs NAT (using ipfw and natd) between two subnets as follows: The NATD interface is fxp0 redirect_address 10.10.10.11 0.0.0.0 on fxp0 this setup works fine but I need to add NAT onto xl0 interface the requirement is as sunch: any address from the fxp0 subnet (172.16.1.0/24) is allowed to connect to fxp0 ipaddress (172.16.1.1) which will do a redirect to 10.10.131.57 this will work if i allow can route 172.16.1.0/24 to 10.10.131.57 However i can not route this subnet since its used on the backbone routers. My question is can i set up nat (or ipnat) to do nating on two interfaces in the following manner and how : 172.16.1.1/24 connects to 172.16.1.1 which should get redirected to 10.10.131.57 and have a source address of 10.10.10.6 please advise, Vikash --------------------------------------------- This message was sent using M-Web Airmail - JUST LIKE THAT M-Web: S.A.'s most trusted and reliable Internet Service Provider. http://airmail.mweb.co.za/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19IhVM-00022s-00>