Re: Iptables config
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
___
Mvh./Yours sincerely
Lars
========================================================================
Lars Roland Kristiansen | Email: m00lrk@math.ku.dk
Stu. Sci. Math/Computer science | TLF(home): 39670663
Copenhagen University - | Home address: Emdrupvej 175
Institute for Mathematical Sciences | C/O Rune Bruhn 2400 Copenhagen NV
Url: www.math.ku.dk |
========================================================================
"Politics is for the moment, equations are forever"
- Albert Einstein
--
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: