Linux Netfilter discussions
 help / color / mirror / Atom feed
* state matching vrs prerouting.... ???
@ 2003-03-21 14:53 SBlaze
  2003-03-21 15:14 ` Cedric Blancher
  0 siblings, 1 reply; 4+ messages in thread
From: SBlaze @ 2003-03-21 14:53 UTC (permalink / raw)
  To: netfilter

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


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

end of thread, other threads:[~2003-03-24  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-21 14:53 state matching vrs prerouting.... ??? SBlaze
2003-03-21 15:14 ` Cedric Blancher
2003-03-21 20:37   ` SBlaze
2003-03-24  8:43     ` Cedric Blancher

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