LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2003, 03:23 PM   #1
walterw
Member
 
Registered: Dec 2002
Posts: 48

Rep: Reputation: 16
Return to Castle Wolfenstein


I am trying to play online games, but I cannot see any online games in RH 9.0, RTCW or Enemy-Territory. I am running iptables, but I still should be able to see games as I am not hosting them, right? What ports would I have to open if any to see games online?


I don't know if this is relevant but, I can see online games in Unreal Tournament 2003, but I cannot join them. Are these related?


Thanks,
Walter
 
Old 08-21-2003, 10:06 PM   #2
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
hmmm,

well for starters you are probably better off having a firewall rule that allows any connections that originated from your network to be allowed back in, otherwise you will have to open up wide range of ports. This can be done with a state based rule that allows ESTABLISHED connections in (netfilter.org seems to be down at the moment but if you check there under the tutorial section there is a good link explaining state based rules).

you only need to open up specific ports if you want to run a server yourself.

can you do everything else, web, mail, ftp, etc.?

can you connect directly to a known server ip? (you will have to find one, try doing a search for a wolf server that is close to you).

if you do find a server you could try to telnet into the server ports (from memory they are around 27950, but you probably should check for sure before trying this).
 
Old 08-21-2003, 10:06 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well all i can suggest is running lokkit and setup a new firewall ruleset...i once had the same issue, and when i re-did my ruleset everything worked fine again...i couldn't figure out why this happened to me, as i had a pretty basic iptabes and it was actually pretty close to being a default file....i hardly made any changes to it, and at that point it still did work after changes anyways..., but one day i couldn't view online or join games....all i can suggest if you do in fact do this, is to backup your existing file in case you had any relevant changes that you want to refer back to for ya can re-add them entries...
 
Old 08-22-2003, 07:25 AM   #4
walterw
Member
 
Registered: Dec 2002
Posts: 48

Original Poster
Rep: Reputation: 16
Yeah, I can surf the Internet, ssh, ftp just fine. My /etc/hosts.allow only permits people to connect to ssh and ftp, but this should not affect me connecting to others. I cannot even get a list of servers and I am positive I am connected to the Internet. Yeah, I also tried this with iptables turned off and I could not see any servers, I assume people still play the game, right?

When my iptables was stopped I could easily join a UT2003 demo game, but RTCW games are not listing still.


So, at least I can play UT online and know that it is an iptables issue.

Walter
 
Old 08-24-2003, 06:08 PM   #5
walterw
Member
 
Registered: Dec 2002
Posts: 48

Original Poster
Rep: Reputation: 16
iptables configuration

Sutekh,

I would I change my iptables ruleset to allow incoming connections for games like you said? Can I run gnome-lokkit, or is there another I should use? You said to backup my existing file for iptables, but where is this configuration file?


Thanks,
Walter
 
Old 08-24-2003, 10:18 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
/etc/sysconfig/iptables is the file...
and yes you can run gnome-lokkit as its just a frontend for lokkit.
 
Old 08-25-2003, 11:31 AM   #7
walterw
Member
 
Registered: Dec 2002
Posts: 48

Original Poster
Rep: Reputation: 16
iptables and gaming configuration

I see the file, but I don't understand how I would change it to permit games to work correctly (allowing established connections someone said earlier). Can someone show me their iptables or clarify how to set them up correctly?


Thanks greatly,
Walter
 
Old 08-27-2003, 01:33 AM   #8
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
the ESTABLISHED rule I was refering to looks like this

iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

*** NOTE ***
you will want to modify this to suit, probably have a few rules attached to this i recommend http://www.sns.ias.edu/~jns/security...conntrack.html for details.

This is a general rule that applies to all traffic however, so if web, etc is working then that is most likely not going to help. In fact if you disabled you firewall (and still had internet access) it almost certainly wont help.

It may not hurt to use tcpdump to check what is actually happening when it is trying to connect. To do this get tcpdump if you don;t already have it and probably ethereal (makes it a lot easier to follow what happened, in fact you could just get ethereal and capture directly if you are on the machine that has the internet connection).

If you do this you canstart ethereal, try to connect with wolfenstein and then quit and check the packets it sent.

There is on other thing and this is a bit of a long shot.
If you are playing the original RtCW (not RtCW:ET) then there were several upgrades and mostly there were not backwards compatible. If you are not running the latest version it is possible that no servers remain for you to connect to.

The other thing is to check your filters, are you filtering out any servers?

worth a look

if you have the bandwidth download RtCW:ET and see if that works (it is about 280Mb download)

let us know
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Return to Castle Wolfenstein Problem neurotic_lancer Linux - Games 0 01-04-2005 04:18 PM
Return to Castle Wolfenstein Gerardoj Linux - Software 10 10-31-2003 06:20 PM
Return to Castle Wolfenstein and sound walterw Linux - General 4 08-08-2003 01:17 PM
return to castle wolfenstein ksgill Linux - Newbie 2 07-27-2003 07:34 AM
Return To Castle Wolfenstein gokussj Linux - Software 0 09-23-2002 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration