Henrique Pedroni Neto wrote:
Hi - i have just installed an mailserver with postfix and wu-imap/pop3 now i just want to have iptables running. I am no iptables guro, i just want to close all exept from ssh(port 22), pop3(port 110) and imap(port143). Is there and easy way to do this. ????
iptables -A INPUT -p tcp -m multiport -s 0/0 --dport 25,110,22 -i $dev -j ACCEPT Just one line ;)
True, but the necessary ports are 22, 110 and 143. Port 25 is for smtp which Lars didn't want to open.
GTi -- To UNSUBSCRIBE, email to debian-security-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org