I have access to my MikroTik with winbox and I want to open this port(UDP 32303). This port is for an online game called theHunter. I can’t play Multiplayer and mods told me you have to do port forwarding.
How can I do that? And is that necessary to set a static IP? If yes, How?
You will need to configure a dst-nat for inbound traffic. It is recommend that you use a static IP on your PC or at least set a DHCP reservation so your PC pulls the same IP address every time.
It should look something like:
chain=dstnat action=dst-nat in-interface=(put your WAN interface here) dst-port=(Ports Needed for Game/Service) to-addresses=(your LAN IP address here) to-ports=(Ports Needed for Game/Service) protocol=tcp
You can also use “dst-ip=WAN IP” instead of “in-interface”
EDIT
As far as setting a Static IP or a DHCP reservation…
Static IP can be configured on your PC. A reservation can be done if you go into “DHCP Server” on your Mikrotik, then select “Leases” and locate your PC. Right-click and select “make static.”
Thanks for the answer, guys. Really appreciate it.
How about a port number range?
I want to open port for World of Tanks game.
10501 & 10502 TCP and 8251 UDP.
Should I create new rule for each port?
Thanks, Revelation.
Make IP static from DHCP Server on MikroTik doesn’t kill my internet? I’m not a pro and I’m afraid to do something wrong!
Port ranges are possible, though I typically do individual ones.
No, it won’t kill your internet. On your Mikrotik, setting a reservation, “static” option, will simply tell the router to assign a specific IP address to the same device every time it “checks in.” It will also not assign it to any other device. What this means is you don’t have to go back and change the “to ip address” from time to time.
I open a new terminal and run this code with the port and my IP:
chain=dstnat action=dst-nat in-interface=(put your WAN interface here) dst-port=(Ports Needed for Game/Service) to-addresses=(your LAN IP address here) to-ports=(Ports Needed for Game/Service) protocol=tcp
But I got this error:
syntax error (line 1 column 6)
Let’s suppose your WAN interface is ether1 and your PC lan ip address is 192.168.1.100. I think that what Revelation wants to say is that you should issue following command into “New Terminal”
for 10501-10502 tcp
Thanks for the answer.
I copy the command on this thread and change the in-interface and to-ports and to-address with mine. But I get the error.
I tried to type the command but after I write “chain” the text color change to red. And after I put “=”, background text of “=” symbol change to red. After I launch the command I get the error.
“line 1 column 6” told me that “=” after chain has an problem.