En réponse à Lars Roland Kristiansen <[EMAIL PROTECTED]>:

> Thanks for the quick respons
> 
> I have put this in my /etc/default/iptables file 
> 
> # Deny ALL
> iptables -P INPUT DROP
> 
> # Allow these sevices
> 
> # SMTP
> iptables -I INPUT -p tcp -s 0/0 --dport 25 -i eth0 -j ACCEPT
> # SSH
> iptables -I INPUT -p tcp -s 0/0 --dport 22 -i eth0 -j ACCEPT
> # POP#
> iptables -I INPUT -p tcp -s 0/0 --dport 110 -i eth0 -j ACCEPT
> 
> I can connect to the server using ssh and pop3 but SMTP doest seam to
> be allowed ?????
> 
> 
> 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



-------------------------------------------------
This mail sent through Tiscalinet Webmail (http://webmail.tiscalinet.be)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to