blob: 08736ada88cf87c7d7d10c1432b5e76188ce61c3 [file] [log] [blame]
Denys Vlasenko6cf7f012009-11-06 04:04:19 +01001#!/bin/sh
2
3echo; echo "* Firewall:"
4{
5echo '---FILTER--';
6iptables -v -L -x -n;
7echo '---NAT-----';
8iptables -t nat -v -L -x -n;
9echo '---MANGLE--';
10iptables -t mangle -v -L -x -n;
11} \
12| grep -v '^$' | grep -Fv 'bytes target' | $PAGER