Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
58a15cd9d2765e9b9bca6b71ad9713bcc3784821
/
.
/
examples
/
var_service
/
fw
/
stat
blob: 08736ada88cf87c7d7d10c1432b5e76188ce61c3 [
file
] [
log
] [
blame
]
#!/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