Community discussions

MUM Europe 2020
 
Tw_
just joined
Topic Author
Posts: 4
Joined: Fri Jun 09, 2006 6:23 am

Port Forwarding

Fri Jun 09, 2006 6:45 am

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
 
Gerard
Trainer
Trainer
Posts: 336
Joined: Wed Apr 26, 2006 4:21 am
Location: Kentucky, USA
Contact:

Fri Jun 09, 2006 6:58 am

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
 
Tw_
just joined
Topic Author
Posts: 4
Joined: Fri Jun 09, 2006 6:23 am

Fri Jun 09, 2006 8:08 am

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...!!@#@!$$???
 
User avatar
djape
Member
Member
Posts: 469
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Fri Jun 09, 2006 12:00 pm

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...
I drink like a pirate and smoke like a hippie...
 
Tw_
just joined
Topic Author
Posts: 4
Joined: Fri Jun 09, 2006 6:23 am

Sun Jun 11, 2006 8:31 am

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


no im not sir .!!

Good config Mr djape

but aint worked :(
 
User avatar
djape
Member
Member
Posts: 469
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Mon Jun 12, 2006 5:11 pm

Good config Mr djape

but aint worked :(
I know, it ain't gonna work as server is serving on port 6500. I was just giving example...
I drink like a pirate and smoke like a hippie...
 
Tw_
just joined
Topic Author
Posts: 4
Joined: Fri Jun 09, 2006 6:23 am

Tue Jun 13, 2006 7:27 pm

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

and now everything work well :D

thanks for concern :lol:

Who is online

Users browsing this forum: No registered users and 30 guests