mirror of
https://git.busybox.net/busybox.git
synced 2024-11-27 07:33:26 +08:00
6cf7f01256
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
13 lines
235 B
Bash
Executable File
13 lines
235 B
Bash
Executable File
#!/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
|