I am on FreeBSD 4.8 with 2 network adaptors:
ifconfig_fxp0="inet 192.168.0.5  netmask 255.255.255.0"
ifconfig_xl0="inet 210.82.47.237  netmask 255.255.255.252"
defaultrouter="210.82.47.238"

fxp0 to switch of my company, and xl0 to ISP.
When I ping www.google.com, it reports "no route to host" or sometimes "communication 
prohibited by filter". And at this time I couldn't ssh to this machine.

ipf.rules:
pass in all
pass out all

ipnat.rules:
map fxp0 192.168.0.0/24 -> 210.82.47.237/32 portmap tcp/udp auto
map fxp0 192.168.0.0/24 -> 210.82.47.237/32

Where am I wrong?

Thanks.

Shepherd

Reply via email to