Linux Spring-Dedicate Router Configuration
Posted: 30 Jun 2011, 21:04
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
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