vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, the following nat may be have failed in OpenBSD 3.3: root@oak [1:57pm] [~]# pfctl -sn 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 respectively. 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 the internet. And the following ping result can reach an internet address, but failed to get reply traffic: [root@wredhat root]# ping www.yahoo.com PING www.yahoo.akadns.net (66.218.71.87) 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. thanks sam -- Posted via http://dbforums.com |