Hi all,
Need a little suggestion... I have a server that is serving web, dns, ftp, ssh, mysql. I was in need to block some malicious ports... thus i did the following...
Code:
# My default rules
$IPTABLES -A INPUT -p tcp -m multiport --destination-port 111,135,139,199,445,587,593,4444,6000 -j DROP
$IPTABLES -A INPUT -p udp -m multiport --destination-port 69,135,137,138 -j DROP
Now I want to block all ports and then allow those services only. Note: The server is serving as DNS and by the same time time it looksup for unknown addresses. What can be a conf??
Mishu~~