Linux Spring-Dedicate Router Configuration

Linux Spring-Dedicate Router Configuration

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
uamadman
Posts: 11
Joined: 08 Jan 2011, 23:49

Linux Spring-Dedicate Router Configuration

Post 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
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Linux Spring-Dedicate Router Configuration

Post 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.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Linux Spring-Dedicate Router Configuration

Post by aegis »

Autohost: SPADS
seems they wanted an autohost
Post Reply

Return to “Linux”