I spent about 3 hours setting up a Minecraft server on my home machine this evening. Most of that time was troubleshooting the WAN connectivity. Turns out it was caused by one errant ipfw line in /etc/firewall.conf. Sigh…
I find socat and wireshark to be essential tools for things like this. socat can forward ports arbitrarily. This is good way to see if the minecraft port is working: “socat -d -d tcp-listen:25565,fork,reuseaddr tcp-connect:localhost:80” and then use wireshark to watch “tcp.port==25565” for the incoming connections.
Home routers with default firmware have really crappy traffic monitoring capabilities. But I suppose that’s obvious.
Yes, and if you’re trying to debug connections coming in from the outside, the problems multiply. Still, having a server is pretty nice.
Thx. I was thinking if setting up a server.
Comments are closed.