Hello,
I'm running M0n0wall (release 1.3) on a PCEngines ALIX 2d13 board with 3 nic's configured as wan, lan and dmz.
wan : single external IP lan subnet: 172.16.211.x /26 dmz subnet: 172.16.111.x /26
I have NAT rules for 80/TCP, 443/TCP and 22/TCP from wan to a server (172.16.211.1) on the lan subnet. The firewall rules on the wan interface allow traffic on these ports to the lan subnet. Everything works perfectly. I can access the webserver from outside and I can connect using SSH. So basically nat works and the firewall ruleset works.
I have setup a testserver (172.16.111.1) on the DMZ and set the NAT rule to allow 3389/TCP from wan to the testserver on the dmz subnet. The firewall rule on the wan interface allows for connections on 3389/TCP to the dmz subnet.
--> This does not work. I can not connect to the testserver from the outside.
In a troubleshooting effort I've also setup firewall rules to allow connection to 3389/TCP from lan. This works, so I know the server accepts connections and I know the firewall rule works (well at least from lan to dmz).
Another thing I tried was setting up a different service (telnet) on the dmz, configured nat and firewall rules for 23/TCP and see if I could get through the m0n0wall from the outside using telnet. Doesn't work either. So it doesn't seem to be a specific port issue.
I can't figure out why I can't connect to the dmz. Apart from the name (dmz and lan) the configuration is setup similar.
Question 1: m0n0wall does support using a single wan IP address and NAT ports to either lan and dmz (e.g. from a single wan IP nat 22/TCP to a host on lan and 3389/TCP to a host on dmz) ?
Question 2: Does anyone have an idea how to further troubleshoot this and make it work?
Thanks, Roy
|