Community discussions

MikroTik App
 
teamza
just joined
Topic Author
Posts: 2
Joined: Mon Nov 13, 2006 1:51 pm

Port Forwarding Warcraft III on Mikrotik ?

Mon Nov 13, 2006 2:25 pm

Hi, I want to forward port game warcraft III in mikrotik to create on server battle.net and i want to lan network join game in the lan create room in battle.net.

Simple
IP 192.168.0.2 Warcraft III Port 6112
IP 192.168.0.3 Warcraft III Port 6113

I forward port 6112 to 192.168.0.2 and forward port 6113 to 192.168.0.3

computer 192.168.0.2 create room in battle.net port 6112
computer 192.168.0.3 want to join in 192.168.0.2 create room in battle.net

computer 192.168.0.3 not join to room 192.168.0.2 create

Who can help I.

Sorry, I'm noob for lang Eng. :( :( :(
 
devouzter
just joined
Posts: 4
Joined: Tue May 30, 2006 12:51 pm

Wed Nov 15, 2006 3:59 am

use this rule on your mikrotik :
/ ip firewall nat 
add chain=dstnat dst-address=a.b.c.d protocol=tcp dst-port=6112 \
    action=dst-nat to-addresses=192.168.0.2 to-ports=6112 
add chain=dstnat dst-address=a.b.c.d protocol=tcp dst-port=6113 \
    action=dst-nat to-addresses=192.168.0.3 to-ports=6113
/ip fire mangle 
add chain=prerouting src-address=192.168.0.0/24 dst-address=a.b.c.d action=mark-connection new-connection-mark=dota-local passthrough=yes
add chain=prerouting protocol=tcp dst-port=6112 connection-mark=dota-local action=mark-packet new-packet-mark=dota-packet
add chain=prerouting protocol=tcp dst-port=6113 connection-mark=dota-local action=mark-packet new-packet-mark=dota-packet
/ip firewall nat
add chain=srcnat packet-mark=dota-packet connection-mark=dota-local action=src-nat to-addresses=w.x.y.z
where a.b.c.d = your mikrotik PUBLIC IP
and w.x.y.z = your mikrotik LAN IP
(i use mangle for marking traffic from lan, so they can join others in lan)

i suggest that you change your port like this :
for client no.1 : 6001
for client no.2 : 6002
etc

got it?
 
User avatar
111111
Member Candidate
Member Candidate
Posts: 195
Joined: Thu Oct 05, 2006 1:39 am
Location: BG,SOFIA

Thu Nov 16, 2006 2:41 am

There is 4 port needet for WoW to be able to be seen from internet
read the manual port list is there