Hi,
I’m trying to setup a remote access to my dsl router from the internet. The DSL router has in DMZ the MT and what I want is that if I try to connect to port 81 of its public IP get redirected to the port 80 of the private IP of the DSL router.
1.1.1.1 (Internet Client) -------> 2.2.2.2 (Internet MT IP) ------> 172.16.0.1 (Private IP of DSL Router)
I have tryed seting up the following but with no luck :
ip firewall nat chain=dstnat src-address=1.1.1.1 dst-address=2.2.2.2 protocol=tcp dst-port=81 in-interface=eth1-wan action=dst-nat to-address=172.16.0.1 to-ports=80
ip firewall nat chain=srcnat src-address=1.1.1.1 dst-address=172.16.0.1 action=masquerade
The same rules applied to redirect trafic from the LAN to another LAN server works, but not to the WAN.
Any sugestions ?