Hi list,
sorry for the simple question, but I just can't figure out why NAT
doesn't work.
I have a pretty simple setup as described here below, and it should work
as far as I can tell. There are no other rules in config than the one
posted below. Anyone?
Best regards
Tonni Aagesen
----------------- SETUP -------------------------------------
[WAN] --> [m0n0 on a NET4801] --> [LAN]
|
|-> [Server: 10.0.0.190]
|-> [client: 10.0.0.xyz]
-------------------------------------------------------------
---------------- some config.xml ----------------------------
<nat>
<rule>
<protocol>tcp</protocol>
<external-port>2222</external-port>
<target>10.0.0.190</target>
<local-port>2222</local-port>
</rule>
</nat>
<filter>
<rule>
<type>pass</type>
<interface>wan</interface>
<protocol>tcp</protocol>
<source>
<any/>
<port>2222</port>
</source>
<destination>
<any/>
<port>2222</port>
</destination>
</rule>
<rule>
<type>pass</type>
<descr>Default LAN -> any</descr>
<interface>lan</interface>
<source>
<network>lan</network>
</source>
<destination>
<any/>
</destination>
</rule>
</filter>
------------------------------------------------------------ |