stat 235 B

123456789101112
  1. #!/bin/sh
  2. echo; echo "* Firewall:"
  3. {
  4. echo '---FILTER--';
  5. iptables -v -L -x -n;
  6. echo '---NAT-----';
  7. iptables -t nat -v -L -x -n;
  8. echo '---MANGLE--';
  9. iptables -t mangle -v -L -x -n;
  10. } \
  11. | grep -v '^$' | grep -Fv 'bytes target' | $PAGER