[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Iptables config



Laurent Luyckx <laurent@luyckx.net> writes:

[snip]
> > i get "cant conect to smtp service" when trying to mail 
> 
> try by rejecting port 113 requests with :
> 
> iptables -I INPUT -p tcp -s 0/0 --dport 113 -i eth0 -j REJECT

If you're going to use -j REJECT for a TCP packet, you really ought to use
`--reject-with tcp-reset' as well. 

See <http://logi.cc/linux/reject_or_deny.php3> for more.

~Tim
-- 
<http://spodzone.org.uk/>


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: