Posts: 97
Threads: 36
Joined: Aug 2005
Reputation:
0
10-29-2006, 01:20 PM
(This post was last modified: 10-29-2006, 01:21 PM by mzracer360.)
I switched my server from my main PC to an extra one that I installed a Linux server on. Now I cant RCON into my game server anymore. I have 27000 to 27039 opened, both TCP and UDP, and set to .103, which is what I set my static ip to (this is what I had it set to on my PC, I just changed the ip to the new server pc). People are joining my server, so the ports are working. What could be the problem?
I just tried to RCON through HLSW and I got this error:
HLSW ERROR: Connection failed (No connection could be made because the target machine actively refused it. )
mzracer360.game-host.org:27015
Posts: 623
Threads: 7
Joined: Mar 2005
Reputation:
0
You should open up ALL steam ports.
Posts: 97
Threads: 36
Joined: Aug 2005
Reputation:
0
what ports am I missing? I thought by doing 27000 to 27039 UPD and TCP I covered them all.
mzracer360.game-host.org:27015
Posts: 97
Threads: 36
Joined: Aug 2005
Reputation:
0
Those ports are included, expect for Cybercafe. Why would I need that? Steam Friends Server port is open to the pc I play on.
mzracer360.game-host.org:27015
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
If you're running firewalls like IPTables, make sure 27015 tcp is allowed as a rule.
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Posts: 97
Threads: 36
Joined: Aug 2005
Reputation:
0
11-02-2006, 05:34 AM
(This post was last modified: 11-02-2006, 05:35 AM by mzracer360.)
This iptables setup went way over my head. This is what I got out of it:
iptables -A TRUSTED -i eth0 -p tcp -m tcp --sport 27015 -j ACCEPT
and the whole iptables file:
Code:
# No spoofing
if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]
then
for filtre in /proc/sys/net/ipv4/conf/*/rp_filter
do
echo 1 > $filtre
done
fi
# No icmp
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
#load some modules you may need
modprobe ip_tables
modprobe ip_nat_ftp
modprobe ip_nat_irc
modprobe iptable_filter
modprobe iptable_nat
# Remove all rules and chains
iptables -F
iptables -X
# first set the default behaviour => accept connections
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
# Create 2 chains, it allows to write a clean script
iptables -N TRUSTED
# Allow https
iptables -A TRUSTED -i eth0 -p udp -m udp --sport 443 -j ACCEPT
iptables -A TRUSTED -i eth0 -p tcp -m tcp --sport 443 -j ACCEPT
# Allow srcds
iptables -A TRUSTED -i eth0 -p tcp -m tcp --sport 27015 -j ACCEPT
# End message
echo " [End iptables rules setting]"
It still isn't letting me RCON to my server.
mzracer360.game-host.org:27015