This is my first setup of IPNAT, for Freebsd FreeBSD. I believe I have followed the instructions correctly, but can't seem to get IPNAT's "bimap" to work. If someone could please tell me, where I have messed up, I would be most grateful.
I have changed my configuration file to include the line:
I have changed my /etc/rc.conf file to include the lines:
I have a rules file, that I am currently loading by hand, with this:
The test environment I have set up for this looks like this (the addresses in parentheses are what I want computer A to see):
I have a telnet server running on computer C and can get to it, via computer D, with the address 10.0.252.2. When I try to get to computer C, via computer A, with the address 10.0.3.3, I get nothing. I have no special routing set up, so when computer A tries for address 10.0.3.3, the ARP request never gets a response (I thought computer B would have responded, because of the NAT).
Thanks,
Festavis
I have changed my configuration file to include the line:
Code:
options IPFILTER
I have changed my /etc/rc.conf file to include the lines:
Code:
gateway_enable="YES"
ipnat_enable="YES"
I have a rules file, that I am currently loading by hand, with this:
Code:
bimap 10.0.252.2/32 -> 10.0.3.3/32
bimap 10.0.252.3/32 -> 10.0.3.4/32
The test environment I have set up for this looks like this (the addresses in parentheses are what I want computer A to see):
Code:
Computer A
[ 10.0.3.1 ]
|
|
[ 10.0.3.2 ]
Computer B
[10.0.252.1]
|
+---------------+
| |
[10.0.252.2] [10.0.252.3]
Computer C Computer D
( 10.0.3.3 ) ( 10.0.3.4 )
Thanks,
Festavis