Community discussions

MikroTik App
 
eslat
just joined
Topic Author
Posts: 1
Joined: Sat Aug 27, 2022 9:34 pm

I want to make a minecraft server at Forwarding, but it doesn't work.

Sat Aug 27, 2022 10:09 pm

Hello, I want to find my problem, and want to solve it.
so here will be everything I put inside.

chain : dstnat
Src. Address : 192.168.8.1
protocol : 6 tcp
Src. Port : 25565
In. Interface : lte1
action : dst-nat
To Addresses : 192.168.8.1
To Ports : 25565

I have created Windows Defender Firewall Inbound and Outbound all UDP and TCP with port : 25565, but it still doesn't work.

There my export in attachments.
You do not have the required permissions to view the files attached to this post.
 
Sob
Forum Guru
Forum Guru
Posts: 9120
Joined: Mon Apr 20, 2009 9:11 pm

Re: I want to make a minecraft server at Forwarding, but it doesn't work.

Sun Aug 28, 2022 3:48 am

You want this:
/ip firewall nat
add action=dst-nat chain=dstnat in-interface=lte1 protocol=tcp dst-port=25565 to-addresses=192.168.8.X
where 192.168.8.X is what the server has. You should also make a static DHCP reservation for that, to make sure it won't unexpectedly change.

Your src-address and src-port are conditions working with source, i.e. addresses and ports used by clients connecting to your server.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3297
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: I want to make a minecraft server at Forwarding, but it doesn't work.

Sun Aug 28, 2022 9:15 am

Or use the WAN in the interface list, since lte1 is part if this list.
/ip firewall nat
add action=dst-nat chain=dstnat in-interface-list=WAN protocol=tcp dst-port=25565 to-addresses=192.168.8.x
192.168.8.x = IP address of your MC server

Remove this:
add action=dst-nat chain=dstnat in-interface=lte1 protocol=tcp src-address=192.168.8.1 src-port=25565 to-addresses=192.168.8.1 to-ports=25565
PS You should remove serial number from export. Since you have cloud enabled, I can see that your IP are 80.89.7x.xx and located in Latvia

Who is online

Users browsing this forum: Seekport [Bot] and 26 guests