Disconnected / Hosting a game (NAT / Firewall)
Why am I getting disconnected when joining a game?
from
Sins Forums
Starting a game requires you to do some network trickery if you are behind a NAT / Firewall (like most people on high-speed, nowadays). First, Sins runs on the X11 protocol using ports 6000 and 6001. Make sure you have outbound TCP port 6000 allowed through your firewall to connect to Iron Clad Online (ICO). Once connected, if you want to host a game, you have to have port 6001 forwarded from your NAT box to your computer, and allowed through your computer's firewall. On Windows, allowing it through the Windows firewall usually just requires clicking the button on the pop-up window saying to accept letting the game run as a server. On your NAT box, it could be more tricky. If you run behind a Linux NAT, like I do, you can do this as root on the command line:
iptables -t nat -I PREROUTING -p tcp --dport 6001 -j DNAT --to-destination
iptables -t nat -I PREROUTING -p tcp --dport 6001 -j DNAT --to-destination
