dillinger420 Wrote: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?
dillinger420 Wrote: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.
11-11-2007, 04:16 PM (This post was last modified: 11-11-2007, 04:16 PM by killakemo911.)
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
twinsen Wrote: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
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
Code:
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 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???
killakemo911 Wrote:... 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
Code:
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
Errant Wrote: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.
1) Have you created a script for consistently configuring your iptables??? That way you don't end up with a random configuration each time.
Im not sure I understand that? Any hints Im not a linux Noob but Ive never had to fiddle with IPtables before
2) What error are you getting when you try to connect?
Nothing - just cannot contact server. IE it just cant see it. My host ASSURE me port forwarding works ok.....
3) Have you checked connectivity? See: RE: Tried everything Have no idea whats wrong.
Nope! Great link. Ill have a go thanks. I did fiddle my python socket server to connect but I only half finished it before uni work took over
Thanks for the help mate. Ill check back when I try that script
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
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):
Code:
#!/bin/bash
IPTABLES="/sbin/iptables"
${IPTABLES} -N outside
${IPTABLES} -A outside -j DROP
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-30-2008, 04:05 AM (This post was last modified: 01-30-2008, 04:07 AM by Errant.)
Well that perl script had problems (Argument "\0\0\0\0" isn't numeric in pack at ./listen_print.pl line 22 being the most annoying error) but once it did work all that the client said was "connection refused". I tried it again with your firewall rules suggested and same problem
No other error data than that..... im going to play with some python sockets and see if I cna work out a better error message
I have no idea about the port forwarding - I am assuming this is the error? However I am inclined to suspect it is just Ubuntu (which I find the most useless software ever made ) being bitchy......
Totally stumped now though
Oh as to the connection to the internet.. again im not sure. I believe it is behind router hardware and a firewall of some kind. The tracepath out of the box gives this:
I really should have dug around more carefully into this before taking the plunge Normally i pick stuff up fast but I just havent had the time this time
Thanks for all your help.. ill let you know if I run into any serious problems
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!