I have been using OpenWRT with LuCI for a few months now, and it's been working flawlessly, the setup was very intuitive.
I used the Port Forwarding feature to open the "25565" port, so that I can host Minecraft servers to play with friends.
It's been working for a long while, but a few days ago, completely randomly, it just stopped working? and I have no idea why... I didn't change any port forwarding rules or anything like that, but the ports don't seem to open anymore no matter what I do.
How can I troubleshoot this issue to fix it?
first two thoughts i have are: 1) reboot, see if that helps. 2) remove, apply, re-add the forward rule, apply and test.
otherwise i suspect you have something else going on. many of us have forwarding working so it is not a wide spread issue since only 1 person is reporting it for such a commonly used feature.
good luck
check if the IP of the host you forward to, is still the same ?
Removed, re-applied the forward rule, applied: didn't work.
Rebooted the router: also didn't work.
But I did see one thing.... I use this website to see if the ports are open or not, and for the ports that I'm not forwarding, it says "Connection refused", but for the ports that I am trying to forward, it instead says "No route to host". What could that mean?
Yeah. My router's internal ip is 192.168.1.1, and my pc's ip (from which I host minecraft servers) is 192.168.1.2, and was sure to set the "Internal IP Address" field of the port forwarding rule to the pc's ip.
Public IP is also the same, didn't change.
is, or was, that was my actual question
Still is. Didn't change.
in that case, can you do a nc (netcat) from the router towards 192.168.1.2 <port>
?
root@OpenWrt:~# nc 192.168.1.2 25565
nc: can't connect to remote host (192.168.1.2): Host is unreachable
oh
you're barking up the wrong tree
Oops, that's awkward.
What can I do to troubleshoot why can't OpenWRT reach my pc?
that's a question for the OS
check if MC server is running
check firewall and permissions
check IP (already done)
MC server is 100% running, as I can join through localhost and it works fine.
As for firewall and permissions, I guess a more fitting place to ask about that would be Arch Linux forums.
I am not familiar with the page you are referring to but perhaps they have a "if you see this message, it is usually XYZ".
That said, if I were to decipher the message myself I would read that as the router is forwarding the port but does not know where the host is.
So check the ip is correct in both the router and host and that the host is reachable from the router. There is a diagnostic section in LUCI that should allow you to test connectivity to the host from the router.
I might start focusing on the host in question; look at its ip address and configuration (on the host, not from the router).
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.