NAT on two interfaces (SOLVED)

vikashb at vikashb at
Fri May 23 01:29:52 PDT 2003

My orignal question was :

==>Can i set up nat (or ipnat) to do nating on two interfaces
==>in the following manner and how :
==> connects to which should get redirected to 
==> and have a source address of

I was able to solve this problem using ipnat and ipfilter.
config as follows:
=========== /etc/ipnat.rules ===========

map xl0 -> portmap tcp/udp auto
map xl0 ->

map fxp0 from to port = 22 ->

rdr xl0 port 22  -> port 22

============ END ================


This message was sent using M-Web Airmail - JUST LIKE THAT
M-Web: S.A.'s most trusted and reliable Internet Service Provider.

More information about the freebsd-questions mailing list