netfilter
[Top] [All Lists]

Table/Filtering Question

Subject: Table/Filtering Question
From: "Jim Gifford"
Date: Tue, 30 Apr 2002 21:09:10 -0700
Here is what I would like to do, is it possible.

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.

Current I have everything set it INTERNET_IN and it is just so hard to read.

Thank you in advance for your help



<Prev in Thread] Current Thread [Next in Thread>
  • Table/Filtering Question, Jim Gifford <=
Privacy Policy