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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to