Guest User

Untitled

a guest
Sep 24th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. -P INPUT ACCEPT
  2. -P FORWARD ACCEPT
  3. -P OUTPUT ACCEPT
  4. -A INPUT ! -s 87.27.77.107/32 -p tcp -m tcp --dport 21 -j DROP
  5. -A INPUT -i eth0 -p udp -j DROP
  6. -A OUTPUT -p udp -j DROP
  7.  
  8. iptables -A INPUT -p udp --sport 53 -j ACCEPT
  9. iptables -A INPUT -p udp --dport 53 -j ACCEPT
  10. iptables -A OUTPUT -p udp --sport 53 -j ACCEPT
  11. iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
  12.  
  13. iptables -A INPUT -p tcp --sport 53 -j ACCEPT
  14. iptables -A INPUT -p tcp --dport 53 -j ACCEPT
  15. iptables -A OUTPUT -p tcp --sport 53 -j ACCEPT
  16. iptables -A OUTPUT -p tcp --dport 53 -j ACCEPT
  17.  
  18. # host google.it
  19. ;; connection timed out; trying next origin
Add Comment
Please, Sign In to add comment