#!/bin/sh
##
# dump.fw: show the status of all iptables.
##

# Note: your PATH is inherited from the gateway process
#

echo ">>>>> NAT table: <<<<<"
echo
iptables -t nat -L -n
echo
echo
echo ">>>>> Mangle table: <<<<<"
echo
iptables -t mangle -L -n
echo
echo
echo ">>>>> Filter table: <<<<<"
echo
iptables -t filter -L -n

#
# Ende
#