[ Converted text/html to text/plain ]

My rcon commands were entered client side.   Also, I do use iptables.   I
think I have all of the right ports open.   Here is my iptables file which
defines the chains.   Does it look right?  Do I have the right ports open?
BTW, I apologize for the ugly line wrapping my e-mail client seems to do.

# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
#       firewall; such entries will *not* be listed here.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A FORWARD -j RH-Lokkit-0-50-INPUT

# SSH
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT

# Valve stuff - Since I've never seen it specified as input or output I opened
it both ways
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 1200 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 1200 -d 0/0 -j ACCEPT

# Valve Stuff - Same here, opening incoming and outgoing on all of these; both
tcp and udp
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 27000:27015 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 27000:27015 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 27030:27039 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --sport 27030:27039 --syn -j ACCEPT

# unknown
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT

# DNS PORT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 53 -d 0/0 -j ACCEPT

# I think this catches the rest and tosses it
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT
COMMIT

> Subject: RE: [hlds_linux] RCON Problems with CS:S
> Date: Wed, 1 Dec 2004 13:10:30 -0800
> From: "Alfred Reynolds"
> To:
> Reply-To: [EMAIL PROTECTED]
>
> Do you run iptables or similar on the machine? Looks like a firewall
> could be causing the problem (note that RCON is now sent via TCP). Also
> you can't run RCON commands from the server console directly (only from
> remote clients).
>
> - Alfred
>
> ----Original Message----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:35 AM To:
> [EMAIL PROTECTED] Subject: [hlds_linux] RCON Problems
> with CS:S
>
> > [ Converted text/html to text/plain ]
> >
> > I posted this in a different thread right before HL2DM was
> > announced/released,
> > so I have a feeling no one saw the other post. Alfred also said he
> > tends to
> > ignore messages beyond one or two responses....here goes nothing:
> >
> > ---
> >
> > Rcon isn't working on my CS:S server. Here is my background info:
> >
> > - Restarting the server does not bring rcon back. It just plain
> > doesn't
> > work....never did.
> > - OS = Red Hat 9
> > - I get a "Unable to connect to remote server (my.ip.here:27015)"
> > error message
> > - /home/myuser/srcds_l/cstrike/cfg/server.cfg contains the following
> > line:
> > rcon_password "mypassword"
> >
> > - Here is my netstat -nlp: tcp 0 0 my.ip.here::27015
> > 0.0.0.0:* LISTEN 22305/srcds_i686
> >
> > - Here is my server launch line: screen -R srcds -A
> > /home/myuser/srcds_l/srcds_run -game cstrike +map de_dust +max
> > players 24 +ip my.ip.here
> >
> > - Here is what I'm typing in the console to try to get it to work:
> > rcon_address my.ip.here:27015 ; rcon_password "mypassword" ; rcon
> > say "Hello world"
> >
> > Thanks in advance on this one, it's driving me nuts.
> >
> > Sorry if the double post annoyed anyone
> >
> > Snewo
--

_______________________________________________
The coolest e-mail address on the web and it�s FREE! Sign-up[1] today for Beer
Mail @ beer.com.

===References:===
  1. http://webmail.beer.com

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to