Filtering Query?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Looking for some insight here. What I would like to do
is:

I have four main tables
INTERNET_IN
INTERNET_OUT
LAN_IN
LAN_OUT

I have a few filters I want I named them
ALLOW_UDP
ALLOW_TCP
DENY_ACCESS

Is it possible to set up iptables to filter down a
list some thing like this:

iptables -A INTERNET_IN -j ALLOW_UDP
iptables -A INTERNET_IN -j ALLOW_TCP
iptables -A INTERNET_IN -j DENY_ACCESS

What I want to accomplish is that if it doesn't meet a
filter in ALLOW_UDP it continues to ALLOW_TCP, then to
DENY_ACCESS, the it goes into the system.

Thanks.
Amna Bilal.




       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux