problems with port forwarding
Posted: Sat May 18, 2019 12:39 pm
Hi,
I've set up a minecraft server on a raspberry pi. Everything works fine within the LAN. ss -tlpn shows that the server listens correctly on default port 25565.
I've set up port forwarding on my mikrotik GL750 using this:
/ip firewall nat add chain=dstnat protocol=tcp dst-port=25565 in-interface=ether1 action=dst-nat to-address=SERVER.INTERNAL.IP.HERE to-ports=25565
Double and triple checked the ports and IP, ether1 is my incoming interface. Still, it's not possible to connect from WAN and port scanning (using canyouseeme.org) can't detect the service on the port.
I've googled around and read the wiki's and to the best of my limited knowledge this should do it. The solution above have worked for others and I'm starting to suspect that the problem lies elsewhere. The reason is that when I do port scans t says that port 80 is closed too. That should register as open, right?
There is a modem before the GL750 but it is provided by the landlord so I can't really do anything with it. I'm at loss here, and any input would be appreciated.
regards
mojoman
I've set up a minecraft server on a raspberry pi. Everything works fine within the LAN. ss -tlpn shows that the server listens correctly on default port 25565.
I've set up port forwarding on my mikrotik GL750 using this:
/ip firewall nat add chain=dstnat protocol=tcp dst-port=25565 in-interface=ether1 action=dst-nat to-address=SERVER.INTERNAL.IP.HERE to-ports=25565
Double and triple checked the ports and IP, ether1 is my incoming interface. Still, it's not possible to connect from WAN and port scanning (using canyouseeme.org) can't detect the service on the port.
I've googled around and read the wiki's and to the best of my limited knowledge this should do it. The solution above have worked for others and I'm starting to suspect that the problem lies elsewhere. The reason is that when I do port scans t says that port 80 is closed too. That should register as open, right?
There is a modem before the GL750 but it is provided by the landlord so I can't really do anything with it. I'm at loss here, and any input would be appreciated.
regards
mojoman