Hi CLUG, I added these iptables rules to my server/gateway but it makes traffic server go VERY slow eg. mail, POP3, SSH. When I removed them it went ok. The idea of the following rules is to allow incoming SMTP and HTTP server tarffic but block every other incoming connection.
iptables -A INPUT -s 0/0 -p icmp -i eth0 -j DROP iptables -A INPUT -s 0/0 -i eth0 -p tcp --dport 80 -j ACCEPT iptables -A INPUT -s 0/0 -i eth0 -p tcp --dport 25 -j ACCEPT iptables -A INPUT -s 0/0 -i eth0 -p tcp -j DROP iptables -A INPUT -s 0/0 -i eth0 -p ! tcp -j DROP Please help. Thanks, Paul
