12-19-2008, 12:50 AM
Just got my new server and im having some weird problems.
After getting the hlds bin file and trying to get it to update it gets stuck trying to download.
I figure that something is blocking the ports. And after doing a test...
I figure this is the problem (I also checked on a web port checker and none were open, 22 was for ssh though so I know it helps)
I added a ticket expecting them to be blocking the port however I got a reply saying the all servers are setup with on ssh open.
After doing some modding to the ufw and adding some custom rules that I found in another thread...
They were added...
Ive even tried disabling the ufw but still nothing
Any help would be great.
RUNNING: UBUNTU SERVER 8.04
After getting the hlds bin file and trying to get it to update it gets stuck trying to download.
I figure that something is blocking the ports. And after doing a test...
Code:
iptables-save | grep 27015
I figure this is the problem (I also checked on a web port checker and none were open, 22 was for ssh though so I know it helps)
I added a ticket expecting them to be blocking the port however I got a reply saying the all servers are setup with on ssh open.
After doing some modding to the ufw and adding some custom rules that I found in another thread...
Code:
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -A OUTPUT -p udp --sport 1200 -j ACCEPT
iptables -A INPUT -p udp --dport 1200 -j ACCEPT
iptables -A OUTPUT -p udp --sport 27000:27020 -j ACCEPT
iptables -A INPUT -p udp --dport 27000:27020 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 27015 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 27030:27039 -j ACCEPT
iptables -A INPUT -p tcp --dport 27030:27039 -j ACCEPT
They were added...
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ufw-before-input all -- anywhere anywhere
ufw-after-input all -- anywhere anywhere
ACCEPT udp -- anywhere anywhere udp dpt:1200
ACCEPT udp -- anywhere anywhere udp dpts:27000:27020
ACCEPT tcp -- anywhere anywhere tcp dpt:27015
ACCEPT tcp -- anywhere anywhere tcp dpts:27030:27039
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ufw-before-output all -- anywhere anywhere
ufw-after-output all -- anywhere anywhere
ACCEPT udp -- anywhere anywhere udp spt:1200
ACCEPT udp -- anywhere anywhere udp spts:27000:27020
ACCEPT tcp -- anywhere anywhere tcp spt:27015
ACCEPT tcp -- anywhere anywhere tcp spts:27030:27039
Chain ufw-user-input (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:27015
ACCEPT udp -- anywhere anywhere udp dpt:27015
RETURN all -- anywhere anywhere
Ive even tried disabling the ufw but still nothing
Any help would be great.
RUNNING: UBUNTU SERVER 8.04