On Tue, Oct 07, 2003 at 02:31:03PM -0600, Tate Hansen wrote: > I have a FreeBSD box with two NICs configured like: > --------------fxp0 [freebsd] fxp1--------------- > IP: 10.20.0.1 IP: 172.16.1.1 > > I'm having trouble creating the proper NAT rules to perform the > following: > > packets entering fxp0 with a source address of 192.168.0.0/24 destined > for 10.20.50.1 need to be translated before leaving fxp1 to source IP: > 172.16.1.1, destination IP: 172.168.50.1. > > in a particular example: > -------------------------------- > [192.168.0.199:10.20.50.1] enters fxp0 > translation occurs... > [172.16.1.1:172.16.50.1] leaves fxp1 > > I want a one-to-one map for 10.20.50.1 <-> 172.168.50.1. > (setup proxy arp on [freebsd] for 10.20.50.1)
rdr fxp0 10.20.50.1 -> 172.168.50.1 map fxp1 192.168.0.0/24 -> 172.16.1.1 -Guido
