Port Forwarding

need Ure help Urgent …Pals
does anyone know how to port forwarding for mikrotik 2.9

for reference

http://www.portforward.com but theres not available for mikrotik

ex:
for 192.168.11.1 I need to forwarding port 6500
192.168.11.2 I need to forwarding port 6501
192.168.11.3 I need to forwarding port 6502


and so

thanks for da help

add chain=dstnat in-interface=wlan1 protocol=tcp dst-port=6500 action=dst-nat
to-addresses=192.168.11.1 to-ports=6500 disabled=no
add chain=dstnat in-interface=wlan1 protocol=tcp dst-port=6501 action=dst-nat
to-addresses=192.168.11.2 to-ports=6501 disabled=no
add chain=dstnat in-interface=wlan1 protocol=tcp dst-port=6502 action=dst-nat
to-addresses=192.168.11.3 to-ports=6502 disabled=no

Make sure you replace wlan1 with the correct name of your WAN(internet) interface.. If you need to forward udp instead of tcp them change that also.
Hope that helps..
-Gerard

Its about a game(warcraft) that required forwarding port to enable creating room.

I have
chain=dstnat dst-address=219.83.12.146 action=dst-nat
to-addresses=192.168.11.5 to-ports=6500 << its run well

but when I added more configuration
chain=dstnat dst-address=219.83.12.146 action=dst-nat
to-addresses=192.168.11.6 to-ports=6501 it doesnt work at all



thanks 4 gerard
l’ve tried Ure Config but still doesnt worked

maybe any else suggestion…!!@#@!$$???

Ok,

first rule was to forward everything that is coming from 219.83.12.146 to 192.168.11.5 port 6500
so firewall rule was accomplished and it will not go to second rule! Understand?

The only way it can work is like this

chain=dstnat dst-address=219.83.12.146 dst-port=6500 action=dst-nat
to-addresses=192.168.11.5 to-ports=6500
but when I added more configuration
chain=dstnat dst-address=219.83.12.146 dst-port=6501 action=dst-nat
to-addresses=192.168.11.6 to-ports=6501

You can’t tell router to forward same port to two different addresses!

Cheers…

You can’t tell router to forward same port to two different addresses!

no im not sir .!!

Good config Mr djape

but aint worked :frowning:

I know, it ain’t gonna work as server is serving on port 6500. I was just giving example…

sorry folks case should be closed…
'cause when I tell the ISP they said that my 219.83.12.146 was broken :frowning:

and now everything work well :smiley:

thanks for concern :laughing: