Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -P INPUT DROP
- iptables -P FORWARD DROP
- iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
- iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
- iptables -A INPUT -p icmp -j ACCEPT
- iptables -A INPUT -p tcp --dport 2019 -j ACCEPT
- iptables -A INPUT -p udp --dport 53 -j ACCEPT
- iptables -A INPUT -p tcp --dport 53 -j ACCEPT
- iptables -A INPUT -p tcp --dport 443 -j ACCEPT
- iptables -A INPUT -p tcp --dport 993 -j ACCEPT
- iptables -A INPUT -p tcp --dport 465 -j ACCEPT
- iptables -A INPUT -p tcp --dport 389 -j ACCEPT
- iptables -A INPUT -p tcp --dport 1195 -j ACCEPT
- iptables -A FORWARD -p icmp -j ACCEPT
- iptables -A FORWARD -p udp --dport 53 -j ACCEPT
- iptables -A FORWARD -p tcp --dport 53 -j ACCEPT
- iptables -A FORWARD -p tcp --dport 443 -j ACCEPT
- iptables -A FORWARD -p tcp --dport 993 -j ACCEPT
- iptables -A FORWARD -p tcp --dport 465 -j ACCEPT
- iptables -A FORWARD -p tcp --dport 389 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement