I spent about 3 hours setting up a Minecraft server on my home machine this evening.

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.

2 replies on “I spent about 3 hours setting up a Minecraft server on my home machine this evening.”

Comments are closed.