Linux Netfilter discussions
 help / color / mirror / Atom feed
* whitelist ?
@ 2008-10-28 17:37 Joey
  0 siblings, 0 replies; only message in thread
From: Joey @ 2008-10-28 17:37 UTC (permalink / raw)
  To: IPTables

 

Hello all,

 

If I am blocking a block of IP's lets say

 

84.17.64.0/19

 

Using:

 

And I find that I need to allow:

84.17.64.23

 

 

 

My rules look like this:

:SMTP_TRAFFIC - [0:0]

-A INPUT -p tcp --dport 25 -m state --state NEW -j SMTP_TRAFFIC

 

Then

-A LOG_LIST_NAME -j LOG --log-prefix "SPAM-BLOCK-CIDR- LIST_NAME "

-A LOG_ LIST_NAME -j DROP

 

 

Would I put something like:

:WHITE_LIST

-A INPUT -p tcp --dport 25 -m state --state NEW -j WHITE_LIST

-A LOG_ WHITELIST -j ACCEPT

 

Then 

-A WHITE_LIST -s 84.17.64.23 -j LOG_WHITE_LIST

 

This is not my strong suite.

 

Thanks!

 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-28 17:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28 17:37 whitelist ? Joey

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