Linux Netfilter discussions
 help / color / mirror / Atom feed
From: SBlaze <dagent.geo@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: state matching vrs prerouting.... ???
Date: Fri, 21 Mar 2003 06:53:11 -0800 (PST)	[thread overview]
Message-ID: <20030321145311.14296.qmail@web40203.mail.yahoo.com> (raw)

Firewall Snipet

# Experimental UDP Filters
#
# iptables -A INPUT -p udp -i eth0 -m state --state NEW,INVALID -j DROP
# iptables -A INPUT -p udp -i eth0 -m state --state ESTABLISHED,RELATED -j
ACCEPT

# CounterStrike NAT Line
#
iptables -t nat -A PREROUTING -p udp --dport 27015 -i eth0 -j DNAT
--to-destination 192.168.1.25:27015

Ok the UDP filters physically come before my CounterStrike line. In reading
Oskar's tutorial I as under the impression that the nat tables rules took
precedence before the filter tables.... However the UDP rules drop the incoming
CS       
requests before they are prerouted... What gives? 

=====
"No touchy NO TOUCHY! Emperor Kuzko -=Emperor's New Groove=-"

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


             reply	other threads:[~2003-03-21 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21 14:53 SBlaze [this message]
2003-03-21 15:14 ` state matching vrs prerouting.... ??? Cedric Blancher
2003-03-21 20:37   ` SBlaze
2003-03-24  8:43     ` Cedric Blancher

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=20030321145311.14296.qmail@web40203.mail.yahoo.com \
    --to=dagent.geo@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox