#!/bin/bash IPT=$(which iptables) nega () { $IPT -P INPUT DROP $IPT -P OUTPUT DROP $IPT -P FORWARD DROP } nega