Page 1 of 1

Linux Spring-Dedicate Router Configuration

Posted: 30 Jun 2011, 21:04
by uamadman
I couldn't find this anywhere so I'm posting it for the next guy who's not exactly an expert with linux. Credit goes to [Fx]TheLoliBot for giving me this solution.

Issue: Players unable to connect to server at game start.

Things i did: Set 8452 port forwarding on router to server for both udp and tcp
allowed connection in iptables
code:
sudo iptables -A INPUT -p tcp --destination-port 8452 -j ACCEPT
sudo iptables -A OUTPUT -p tcp --source-port 8452 -j ACCEPT

Things i missed: thanks [Fx]TheLoliBot
/etc/host.allow needs to have

ALL:ALL <--- not very secure especially if router firewall is disabled.
or
spring-dedicate:ALL

/etc/host.deny
needs to be checked to see if it is blocking spring ports


OS: Ubuntu Lucid
Autohost: SPADS
Router: WRVS4400N

Re: Linux Spring-Dedicate Router Configuration

Posted: 01 Jul 2011, 07:26
by knorke
Maybe I misunderstand the problem, why do you not simple use a relayhost when hosting?
It is an option in springlobby when you create a battleroom.

Re: Linux Spring-Dedicate Router Configuration

Posted: 01 Jul 2011, 18:24
by aegis
Autohost: SPADS
seems they wanted an autohost