Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -P INPUT ACCEPT
- -P FORWARD ACCEPT
- -P OUTPUT ACCEPT
- -A INPUT ! -s 87.27.77.107/32 -p tcp -m tcp --dport 21 -j DROP
- -A INPUT -i eth0 -p udp -j DROP
- -A OUTPUT -p udp -j DROP
- iptables -A INPUT -p udp --sport 53 -j ACCEPT
- iptables -A INPUT -p udp --dport 53 -j ACCEPT
- iptables -A OUTPUT -p udp --sport 53 -j ACCEPT
- iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
- iptables -A INPUT -p tcp --sport 53 -j ACCEPT
- iptables -A INPUT -p tcp --dport 53 -j ACCEPT
- iptables -A OUTPUT -p tcp --sport 53 -j ACCEPT
- iptables -A OUTPUT -p tcp --dport 53 -j ACCEPT
- # host google.it
- ;; connection timed out; trying next origin
Add Comment
Please, Sign In to add comment