I'm new at ipfilter, but I've done everything I can think of and can't get NAT 
working.  All LAN clients route out to the WAN and function perfectly.  
However, I can't connect to from the WAN to the services provided by the LAN.

The router and services are on the opensolaris machine.  I have two NICs, bge0 
(lan) and bge1 (wan).

I've got an open filter set up to minimize that the problem could come from 
ipf.conf:

pass in quick all
pass out quick all

Then in ipnat.conf I've got:
map bge1 10.0.0.0/8 -> 0.0.0.0/32 portmap tcp/udp 40000:65000
map bge1 10.0.0.0/8 -> 0.0.0.0/32
rdr bge1 0.0.0.0/0 port 22 -> 10.101.1.7 port 22 tcp/udp
rdr bge1 0.0.0.0/0 port 25 -> 10.101.1.7 port 25 tcp/udp
rdr bge1 0.0.0.0/0 port 80 -> 10.101.1.7 port 80 tcp/udp
rdr bge1 0.0.0.0/0 port 443 -> 10.101.1.7 port 443 tcp/udp
rdr bge1 0.0.0.0/0 port 587 -> 10.101.1.7 port 587 tcp/udp
rdr bge1 0.0.0.0/0 port 993 -> 10.101.1.7 port 993 tcp/udp
rdr bge1 0.0.0.0/0 port 2022 -> 10.101.1.8 port 22 tcp/udp

But nothing seems to be able to connect from the WAN.
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to