LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-27-2005, 05:28 AM   #1
Lum-chan
LQ Newbie
 
Registered: Jan 2005
Distribution: SME 6.0.1-10 (Redhat 7.3)
Posts: 2

Rep: Reputation: 0
Quake 3 Server on port 28313


I moved from a Windows 2000 sp2 gateway to a SME 6.0.1-10 Linux gateway/firewall.
As I'm running a Quake III Arena OSP server on this machine, it would be very nice if my friends could connect to this q3a server to play along with those on the lan side.

I tried this rule added to /etc/rc.d/rc.local:

/sbin/iptables -A INPUT -p udp -d $ANY 28313 -j ACCEPT

However, this doesn't seem to work. The server is up and running and can be connected to via the lan interface (eth1)

As I'm complete new to this iptables thingie I don't know if this is the correct way. man iptables is way too difficult for me to understand as a newbie.

Could anyone help me with this?
Thanks in advance,

Lum-chan

Oh, if you need more info, I'll be more than happy to provide these
 
Old 01-29-2005, 04:21 AM   #2
Lum-chan
LQ Newbie
 
Registered: Jan 2005
Distribution: SME 6.0.1-10 (Redhat 7.3)
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy

Kicking:

If there's more info needed, please let me know.
I'm a complete on iptables. I checked some firewall scripts and search on google.com for similair ways for opening a port to the localhost. I'm not looking for portforwarding.
 
Old 01-29-2005, 08:21 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,695
Blog Entries: 1

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
I see a couple of potential problems. First is you adding the modification from rc.local. The problem is that the -A flag appends the rule to the end of the INPUT rule set and if there is a rule that drops or rejects the packet before this one, the packet will never get accepted (iptables checks the rules in order and handles the packet according to the first match). You need to look at your entire firewall ruleset.

The second problem I see is the -p udp flag. Now I know absolutely zilch about Q3, but don't you need to allow tcp packets as well? Also, if this is your firewall/gateway I'm assuming your friends are pointing directly at this IP address, in which case you don't really need the -d flag.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Quake 3 Server Thetargos Linux - Games 2 10-13-2005 06:20 PM
Proxy server flodded by requests on port 53 & port 25 saurabh_sahni Linux - Security 5 04-26-2005 10:35 PM
Proxy server flodded by requests on port 53 & port 25 saurabh_sahni Linux - Networking 1 04-26-2005 03:01 PM
FreeBSD quake 1 server j0sh_d *BSD 1 07-03-2004 02:27 PM
Please, only you guys can help me. Installing Quake on my server lexington Linux - Games 6 06-30-2004 04:09 PM


All times are GMT -5. The time now is 10:01 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration