#!/bin/bash
#

## Firewall Script
#  01-07-26  by Erik Wegner
#  fw-defuserchain
#

# Pfad zu IPTables
if test -z $IPTABLES ; then
	IPTABLES=/usr/sbin/iptables
fi

echo -e "\n# eigene Ketten ..."
echo "$IPTABLES -N my_drop"
echo "$IPTABLES -A my_drop -p ICMP -j LOG --log-prefix \"DROP-ICMP \""
echo "$IPTABLES -A my_drop -p UDP  -j LOG --log-prefix \"DROP-UDP \""
echo "$IPTABLES -A my_drop -p TCP  -j LOG --log-prefix \"DROP-TCP \""
echo "$IPTABLES -A my_drop -j DROP"

