How to Forward Port to Outside Network ?

Hi All..
i need to forward some port to outside network. Anybody know how to do it ?

MT Router :

  • Ether1/LAN=192.168.1.0/24
  • Ether2/Pub=202.51.215.88

Whenever someone from public/outside trying http://202.51.215.88:8000
i need to forward it to outside network like 203.77.200.200:9000

in slackware it is very easy, just using iptables postrouting/prerouting.

but in mikrotik… i try and haven’t found the solution yet.
thanks in advance. hope anyone can tell me how to do it.

You can do that using MT.Try this.

chain=dstnat in-interface=Ether2 dst-address=202.51.215.88 protocol=tcp dst-port=80 action=netmap to-addresses=192.168.1.0/24 to-ports=9000

Can you post the iptables script. It’s usually pretty straightforward to translate to MT commands.

Regards

Andrew