From: Filip Sneppe <filip.sneppe@cronos.be>
To: Dominic Irrcher <dirrcher@colosseum.com>
Cc: "'netfilter@lists.netfilter.org'" <netfilter@lists.netfilter.org>
Subject: Re: game server rules
Date: 14 Jan 2003 15:00:52 +0100 [thread overview]
Message-ID: <1042552852.464.214.camel@xbox> (raw)
In-Reply-To: <A0B5F46E38ADD411967800805F777E983B81BF@colosrva.colosseum.com>
On Fri, 2003-01-10 at 19:46, Dominic Irrcher wrote:
> hi,
>
> was wondering if anyone has successfully setup a ruleset for a quake3 server
> with iptables ?
Hi,
Are you talking about running a quake3 server *on* your Linux
box, playing quake3 *from* your Linux machine, or allowing
quake3 traffic to be firewalled by your Linux machine.
I suspect it's one of the first two, but I couldn't get
that from your rules below...
Either way, this is how it works:
If you set up a server, you need to allow access to the
port you are running the server on, most often 27960, like
this:
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p udp --dport 27960 -j ACCEPT
If you want to play quake3 from your machine, the last
rule becomes:
iptables -A OUTPUT -p udp --dport 27960 -j ACCEPT
Same thing (kind of) for the FORWARD chain.
Now there's one more thing to know: if you play online
you will often connect to a master server, get a list
of ip addresses+ports from that server, and connect
to the individual game servers from there.
In that case, all the above won't work, since;
- some of those servers are not running on port 27960
- you're not allowing traffic to the master server
that is running on port 27950
If these last two paragraphs best describe your
situation, and you want to enforce tight security
(ie. the easy way our for a home user is to allow
all udp traffic :-) ), you need the quake3 conntrack/nat
module from patch-o-matic.
Regards,
Filip
prev parent reply other threads:[~2003-01-14 14:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-10 18:46 game server rules Dominic Irrcher
2003-01-14 14:00 ` Filip Sneppe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1042552852.464.214.camel@xbox \
--to=filip.sneppe@cronos.be \
--cc=dirrcher@colosseum.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.