Linux Netfilter discussions
 help / color / mirror / Atom feed
* Propert IPTABLES Configuration
@ 2002-12-07  0:25 Rob
  2002-12-07  5:32 ` james.Q.L
  0 siblings, 1 reply; 4+ messages in thread
From: Rob @ 2002-12-07  0:25 UTC (permalink / raw)
  To: netfilter

I am attempting to setup a Half-Life Counter-Strike Server on my 
machine.  I need
it setup so people can access it from the internet and my intranet.

I found the following ports I need setup.

TCP 6003 outbound, incoming replies (as specified in woncomm.lst)
TCP 7002 outbound, incoming replies (as specified in woncomm.lst)
UDP 27010 outbound, incoming replies (as specified in woncomm.lst)
UDP 27011 outbound, incoming replies (as specified in woncomm.lst)
UDP 27012 outbound, incoming replies (as specified in woncomm.lst)
UDP 27013 outbound, incoming replies
UDP 27015 outbound, incoming replies on 27015-27050


would something like this be right?

IPTABLES -A INPUT -i eth0 -p tcp -s any/0 -d any/0 --dport 6003 -m state 
--state ESTABLISHED,RELATED -j ACCEPT

with that in mind would I have to create an output for each one too?

IPTABLES -A OUTPUT -o eth0 -p tcp --dport 6003 -m state --state 
NEW,ESTABLISHED,RELATED -j ACCEPT

Thanks for your help.

Rob



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-12-07 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-07  0:25 Propert IPTABLES Configuration Rob
2002-12-07  5:32 ` james.Q.L
2002-12-07  6:24   ` Bob Sully
2002-12-07 11:57     ` Roy Sigurd Karlsbakk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox