[PLUG] iptables to SMTP connections

Chris Jantzen chris at maybe.net
Wed Aug 11 19:56:02 UTC 2004


On Wed, Aug 11, 2004 at 04:44:33PM -0700, Roderick A. Anderson wrote:
> Iptables confuses me to no end and all my reading has just made it worst.
> (Suppose I have a mental block from an early bad experience? :-)  Anyway;
> anyone have a quick and dirty iptables filter to block a C-Class they'd be
> willing to share?

On the host in question, something like

iptables -I INPUT 1 -s x.x.x.x/24 -j DROP

should do the trick reasonably well.

I'm sure slightly more elaborate (or less harsh) versions could be
written and will be suggested as well.

-- 
chris kb7rnl =->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20040811/b66df299/attachment.asc>


More information about the PLUG mailing list