mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
13 lines
235 B
Plaintext
13 lines
235 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
echo; echo "* Firewall:"
|
||
|
{
|
||
|
echo '---FILTER--';
|
||
|
iptables -v -L -x -n;
|
||
|
echo '---NAT-----';
|
||
|
iptables -t nat -v -L -x -n;
|
||
|
echo '---MANGLE--';
|
||
|
iptables -t mangle -v -L -x -n;
|
||
|
} \
|
||
|
| grep -v '^$' | grep -Fv 'bytes target' | $PAGER
|