Linux Netfilter discussions
 help / color / mirror / Atom feed
* Filtering in the nat table - opinions wanted
@ 2003-03-24 18:20 Aldo Lagana
  2003-03-24 19:32 ` Kim Jensen
  2003-03-24 22:09 ` Joel Newkirk
  0 siblings, 2 replies; 3+ messages in thread
From: Aldo Lagana @ 2003-03-24 18:20 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

by default I set the nat chains (PREROUTING POSTROUTING, etc) to ACCEPT.  first off is this bad?

For my web & mail servers using DNAT, I need to add rules - and I do.  Same w/ SNAT rules...

The problem has come up with our mail server - we were getting spam from one IP address - since my DNAT rule was ACCEPT and forward, the mail server kept getting these spam messages.  I stopped the SPAM by adding a rule to the beginning of PREROUTING to DROP packets from that address.

This made me start thinking - am I doing it right by having all the nat chains default ACCEPT?

aldo




[-- Attachment #2: Type: text/html, Size: 1462 bytes --]

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24 18:20 Filtering in the nat table - opinions wanted Aldo Lagana
2003-03-24 19:32 ` Kim Jensen
2003-03-24 22:09 ` Joel Newkirk

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