Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Arp Firewall
- case "$1" in
- start)
- sudo arptables -P INPUT DROP
- sudo arptables -P OUTPUT ACCEPT
- sudo echo "La Proteccion ARP a Activada"
- ;;
- stop)
- sudo arptables -P INPUT ACCEPT
- sudo arptables -P OUTPUT ACCEPT
- echo "La Proteccion ARP a Desactivada"
- ;;
- *)
- echo "Usar: /etc/init.d/blah {start|stop}"
- exit 1
- ;;
- esac
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement