|
Cant get on server from internet
|
| Author |
Message |
eet_1024
Junior Member
 
Posts: 45
Group: Registered
Joined: Aug 2007
Status:
Offline
|
RE: Cant get on server from internet
I ran srcds on my windows machine and it works perfectly fine while under DMZ.
You mean that people can connect from the internet right?
What IP is set on that windows machine?
yup I assigned a static ip of 192.168.1.128 to the box and had the router DMZ that exact IP, I believe its something I havent configured on the box its self that is causing the connectivity issue.
Did you try the PERL script out from the other thread?
What is your router's internal IP and netmask?
Can you post a dump of the firewall on the linux box? Run iptables -n -L as root.
|
|
| 10-02-2007 05:51 AM |
|
 |
killakemo911
Junior Member
 
Posts: 1
Group: Registered
Joined: Nov 2007
Status:
Offline
|
RE: Cant get on server from internet
see where it says that Adding master server 69.28.151.162:27011
Adding master server 69.28.151.178:27011 arent the same mying are different? can some on help me i cant get my server working
how do you forward ports through ssh i have been trying this to no aviel ./srcds_run -console -game cstrike +map de_dust +ip xxx.xxx.xxx.xxx -port 27015 +maxplayers 22 -autoupdate
i am running fedora core 4
Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
maxplayers set to 16
Network: IP xxx.xxx.xxx.xxx, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Executing dedicated server config file
couldn't exec mani_server.cfg
"bot_prefix" = ""
game replicated
- This string is prefixed to the name of all bots that join the game.
Can't use cheat cvars in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvars in multiplayer, unless the server has sv_cheats set to 1.
Adding master server 69.28.151.162:27011
Adding master server 69.28.151.178:27011
Connection to Steam servers successful.
VAC secure mode is activated.
!Stops here every time
This post was last modified: 11-11-2007 04:16 PM by killakemo911.
|
|
| 11-11-2007 04:16 PM |
|
 |
Errant
Junior Member
 
Posts: 9
Group: Registered
Joined: Nov 2007
Status:
Offline
|
RE: Cant get on server from internet
Hey guys...... im beating my head in over this and so need some help, I know it is a simple problem but I just cant get my head round it 
Basically I have a dedicated server running Ubuntu hosted with Fasthosts (in the UK)
I can boot the server up fine using this command: ./srcds_run -console -game cstrike +ip 88.208.248.30 +map de_dust
I works fine and I get this output:
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
Network: IP 88.208.248.30, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Executing dedicated server config file
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn't download the price list!
Error: Material "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
net.cpp (960) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cSendBufSize <= iVal
net.cpp (968) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cRecvBufSize <= iVal
couldn't exec server.cfg
Adding master server 72.165.61.189:27011
Adding master server 68.142.72.250:27011
Connection to Steam servers successful.
VAC secure mode is activated.
However I cant access it on the internet . sv_lan is set right btw and I allowed port 27015 in iptables...
Here is the dump of my ifconfig and iptables.
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:05:EB:D8:17
inet addr:88.208.248.30 Bcast:88.208.251.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23496 errors:0 dropped:0 overruns:0 frame:0
TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1460149 (1.3 MiB) TX bytes:36105 (35.2 KiB)
Interrupt:193 Base address:0x4000
eth0:0 Link encap:Ethernet HWaddr 00:30:05:EB:D8:17
inet addr:88.208.248.31 Bcast:88.208.251.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:193 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
iptables -n -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 state NEW
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53 state NEW
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:69 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:69 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:110 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:143 state NEW
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:123 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:20 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:3306 state NEW
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:3306 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5555 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8002 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9001 state NEW
DROP all -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW,RELATED,ESTABLISHED
Someone did advise me to check my hosts files.. (etc/hosts) this has 127.0.1.1 mapped to "ubuntu" (which appears to be my hostname).. so I am not sure if that is causing the problem???
ANy help appreciated!
|
|
| 01-19-2008 12:26 AM |
|
 |
Errant
Junior Member
 
Posts: 9
Group: Registered
Joined: Nov 2007
Status:
Offline
|
RE: Cant get on server from internet
Ummmm I think that is my iptables after i flushed them.... before I had all the right entries (I think) and it still didnt work
|
|
| 01-19-2008 12:29 AM |
|
 |
eet_1024
Junior Member
 
Posts: 45
Group: Registered
Joined: Aug 2007
Status:
Offline
|
RE: Cant get on server from internet
... arent the same mying are different?
1) What is "mying"
2) How does your server stop?
3) Does it just sit there like a good running server?
4) Or does it quit and return you to the command prompt?
Here is the tail of starting my GG DM Turbo
Adding master server 72.165.61.190:27011
Adding master server 69.28.151.162:27011
Connection to Steam servers successful.
VAC secure mode is activated.
Warmup round : 28 seconds leftWARNING: Couldn't find server variable: bomber
Ummmm I think that is my iptables after i flushed them.... before I had all the right entries (I think) and it still didnt work
1) Have you created a script for consistently configuring your iptables??? That way you don't end up with a random configuration each time.
2) What error are you getting when you try to connect?
3) Have you checked connectivity? See: RE: Tried everything Have no idea whats wrong.
|
|
| 01-24-2008 07:03 AM |
|
 |
Errant
Junior Member
 
Posts: 9
Group: Registered
Joined: Nov 2007
Status:
Offline
|
RE: Cant get on server from internet
|
|
| 01-25-2008 08:07 AM |
|
 |
Errant
Junior Member
 
Posts: 9
Group: Registered
Joined: Nov 2007
Status:
Offline
|
RE: Cant get on server from internet
Dammit so that perl script simplydisplays: SERVER started on port 27015 and doesnt go any further. SO I guess it is a port forwarding issue?? Ill have to bitch at the hosting peeps again I think 
THx....
|
|
| 01-25-2008 08:48 PM |
|
 |
eet_1024
Junior Member
 
Posts: 45
Group: Registered
Joined: Aug 2007
Status:
Offline
|
RE: Cant get on server from internet
Errant,
0) Does your server have its own ip address and raw connection to the internet?
It sounds strange that your host would be using port forwarding.
1) You put all of the iptables commands for configuring your firewall in a shell script so that you don't have to manually key them in.
The script will resemble (warning, this is not a complete firewall):
#!/bin/bash
IPTABLES="/sbin/iptables"
${IPTABLES} -N outside
${IPTABLES} -A outside -j DROP
${IPTABLES} -I outside -p udp --dport 1200 -j ACCEPT
${IPTABLES} -I outside -p udp --dport 27000:27020 -j ACCEPT
${IPTABLES} -I outside -p tcp --dport 27030:27039 -j ACCEPT
How have you been configuring your firewall?
3) The server script will pause at "SERVER started on port 27030" until you connect to it.
a) What happened on the client program (Quentannon)?
b) Did you change the port to 27015?
|
|
| 01-26-2008 04:39 AM |
|
 |
Errant
Junior Member
 
Posts: 9
Group: Registered
Joined: Nov 2007
Status:
Offline
|
RE: Cant get on server from internet
This post was last modified: 01-30-2008 04:07 AM by Errant.
|
|
| 01-30-2008 04:05 AM |
|
 |
eet_1024
Junior Member
 
Posts: 45
Group: Registered
Joined: Aug 2007
Status:
Offline
|
RE: Cant get on server from internet
The numeric pack error doesn't break the script on my machine (I'll get that fixed (edit: it's fixed)).
If I use Quetannon to connect to a port that isn't listening (or blocked), it times out with Connection refused.
I suspect your server machine is exposed to the internet.
It's just that your firewall (and possibly you server apps) are not properly configured.
I recommend spending a few hours reading about networking and firewalls.
Configure your firewall, dump with iptables -n -L, and study carefully to see if it makes sense.
This post was last modified: 01-30-2008 05:15 AM by eet_1024.
|
|
| 01-30-2008 04:38 AM |
|
 |
Errant
Junior Member
 
Posts: 9
Group: Registered
Joined: Nov 2007
Status:
Offline
|
RE: Cant get on server from internet
|
|
| 01-30-2008 07:56 AM |
|
 |
Eternal Bliss
Junior Member
 
Posts: 8
Group: Registered
Joined: Dec 2007
Status:
Offline
|
RE: Cant get on server from internet
port 27017/UDP is used by Secure servers on TF2 servers since last patch.
|
|
| 01-31-2008 12:33 AM |
|
 |
eet_1024
Junior Member
 
Posts: 45
Group: Registered
Joined: Aug 2007
Status:
Offline
|
RE: Cant get on server from internet
My firewall configuration already supports that:
${IPTABLES} -I outside -p udp --dport 27000:27020 -j ACCEPT
|
|
| 01-31-2008 04:07 AM |
|
 |
callan752
Junior Member
 
Posts: 1
Group: Registered
Joined: Apr 2008
Status:
Offline
|
RE: Cant get on server from internet
We seemed to be having this problems also, I will list some things that we did that might help people solve this problem. The prime symptom seems to be that everyone can start the server, and it seems to just stop at the "VAC secure mode is activated" and you cant see it in the internet tab, but you can either through adding it directly to your favorites, or over your LAN.
All of these are using your LOCAL IP!!! ie. 192.168.x.x!! or for static ips 192.168.x.xxx you do not need your external ip!
1.I feel a little odd saying this but if you have a dedicated server running on your network, you cant find it on the internet if you are on the same local network. In other words if you are connected to the internet through the same router as you dedicated server, it disables the ability to see your server in the internet tab.
2. Make sure you setup your static ip right follow this guide
http://www.portforward.com/networking/staticip.htm
just use the xp tutorial and there shouldn't be much thinking involved to input it correctly into your Linux platform.
3.On our router setup we made sure that all the port forwarding was going to the correct static ip (you need a static for port forwarding) we just port forwarded 80-30000 (just to make it easy) we did this for both TCP and UDP packet protocols, then we added the same for the port triggering (probably don't have to but its just less the computer has to work through)
4.Set up the DMZ to point at your static ip of the dedicated server that is about all you do (this should void all need of port forwarding but we just did it to make it easier for the computer to connect)
5.Time- you might need to wait a while for steam to register your server, i would suggest that you start your server, check to see that nothing critical failed, and go to sleep. When u wake up, check it, if you are lucky someone logged on, you will most likely see something about steam challenging ip (or something to that effect) i believe this is steam making the rounds to make sure the server is still running and connected.
In summary, you cannot see your dedicated linux server on the internet if you are in the same local area network!!!(all connected to the same router or internet box ((dsl/cable) If really want to know, ask a friend on steam (who is not connected your your local network) to try to find the server and login. I HOPE THIS HELPS SOMEONE.. please reply with any questions or corrections. THANKS!
|
|
| 04-07-2008 03:21 AM |
|
 |
liam12360
Junior Member
 
Posts: 3
Group: Registered
Joined: Apr 2008
Status:
Offline
|
RE: Cant get on server from internet
ok, this is an old topic but I have the same problem and nobody seems keen on answering any of my questions.
I have forwarded all the needed ports, set up a static ip for that computer, and i can play through lan fine.
I'm running Windows 2000 on my server box, does it have a firewall, I don't think so. This is causing me so much grief, their has to be a fix!!!!! >
|
|
| 04-09-2008 01:42 PM |
|
 |
|
|