[Nottingham] iptables SMTP blocklist

Mike Cardwell mike at blubbernet.com
Fri May 14 20:20:51 BST 2004


On Fri, 14 May 2004, Michael Erskine wrote:

> Hi all,
> Do any of you use iptables to block particular ranges
> of incoming SMTP connections? I'm particularly
> thinking of the large number of relay attempts I have
> coming from hinet.tw.

Nope, I don't, but if you want to block them and you know the IP range,
it's a simple:

iptables -I INPUT -s xxx.xxx.xxx.xxx/xx -p tcp --syn -j DROP

-- 
Digital photo printing: http://www.fotoserve.com/
Personal website : http://www.blubbernet.com/



More information about the Nottingham mailing list