Advertisement
Guest User

Untitled

a guest
Feb 8th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. iptables -P INPUT DROP
  2. iptables -P FORWARD DROP
  3. iptables -P OUTPUT ACCEPT
  4. iptables -F
  5. iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT
  6. iptables -A INPUT -i lo -j ACCEPT
  7. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement