Advertisement
Guest User

Untitled

a guest
Sep 8th, 2011
683
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #Arp Firewall
  2.  
  3. case "$1" in
  4. start)
  5. sudo arptables -P INPUT DROP
  6. sudo arptables -P OUTPUT ACCEPT
  7. sudo echo "La Proteccion ARP a Activada"
  8. ;;
  9.  
  10. stop)
  11. sudo arptables -P INPUT ACCEPT
  12. sudo arptables -P OUTPUT ACCEPT
  13. echo "La Proteccion ARP a Desactivada"
  14. ;;
  15.  
  16. *)
  17. echo "Usar: /etc/init.d/blah {start|stop}"
  18. exit 1
  19. ;;
  20. esac
  21.  
  22. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement