the following nat may be have failed in OpenBSD 3.3:
nat on fxp0 inet from 192.168.1.0/24 to any -> (fxp0)
nat on rl0 inet from 192.168.8.0/24 to any -> (rl0)
rdr on fxp0 inet proto tcp from any to a.b.c.d port = 2222 ->
192.168.1.23 port 22
rdr on rl0 inet proto tcp from any to a.b.c.e port = 2222 ->
192.168.8.1 port 22
Public addresses a.b.c.d and a.b.c.e are assigned to fxp0 and rl0
I have 192.168.1.253 and 192.168.8.253 assigned to fxp1, in which
192.168.8.253 is an alias address.
all internal machines in 192.168.1.0 subnet can reach internet
without problem, only machines in 192.168.8.0 subnet failed to reach
And the following ping result can reach an internet address, but failed
to get reply traffic:
PING www.yahoo.akadns.net (184.108.40.206) 56(84) bytes of data.
Is there is any problem using NAT with alias IP in OpenBSD?
if so, I can solve it by using a seperated NIC for each IP.
Posted via http://dbforums.com