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)

Ideas? Thanks for any help!!
-tate

===========================
details of what i'm running:
freebsd# uname -a
FreeBSD freebsd.<removed>.com 5.1-RELEASE

freebsd# ipf -V
ipf: IP Filter: v3.4.31 (336)
Kernel: IP Filter: v3.4.31
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
===========================

Reply via email to