Hey Rob,
Looks good. If you output chain default is drop you will have to add the
following too :
iptables -A output -d any/0 -p tcp --source-port 27015
and
output must allow "New" and "Estab" (Don''t know
these off the top of my head)
BTW are you sure it is tcp and not UDP ?
Cheers,
Pieter
----- Original Message -----
From: Rob
To: redhat-secure-server@redhat.com
Sent: Tuesday, November 26, 2002 5:16 PM
Subject: iptables
If I have a game listening on port 27015 how would I write this
to allow for it to assign its own ports to connecting clients?
iptables -A INPUT -s (myip) -p tcp --destination-port 27015
Thanks,
Rob
---------------------------------------------------------------------------
Check this out.
And you thought I was an idiot!!!!
http://www.isgoofy.com