1

IPTABLES allow mail with DROP policy [closed]

view story
linux-howto

http://stackoverflow.com – I'd like to allow mail through iptables and DROP policy but this script doesn't work what it is wrong here: ## FLUSH de reglas iptables -F iptables -X iptables -Z iptables -t nat -F ## policy iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP # localhost iptables -A INPUT -i lo -j ACCEPT # Allow my ip iptables -A INPUT -s MY_IP -j ACCEPT # 80 port iptables -A INPUT -p tcp --dport 80 -j ACCEPT #MAIL iptables -A INPUT -p tcp --dport 25 -j ACCEPT iptables -A INPUT -p tcp --dport 993 -j ACCEPT iptables -A INPUT -p tcp --dport 995 -j ACCEPT iptables -A INPU (HowTos)