Skip to content

Instantly share code, notes, and snippets.

@metaperl
Created October 19, 2019 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaperl/0d2c2b41756eadf900928d01c33d60c8 to your computer and use it in GitHub Desktop.
Save metaperl/0d2c2b41756eadf900928d01c33d60c8 to your computer and use it in GitHub Desktop.
iptables-save
more -22 /tmp/iptables-save
# Generated by iptables-save v1.6.0 on Sat Oct 19 03:04:33 2019
*security
:INPUT ACCEPT [2946:145846]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [4831:260168]
COMMIT
# Completed on Sat Oct 19 03:04:33 2019
# Generated by iptables-save v1.6.0 on Sat Oct 19 03:04:33 2019
*raw
:PREROUTING ACCEPT [2948:145966]
:OUTPUT ACCEPT [4831:260168]
COMMIT
# Completed on Sat Oct 19 03:04:33 2019
# Generated by iptables-save v1.6.0 on Sat Oct 19 03:04:33 2019
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Sat Oct 19 03:04:33 2019
# Generated by iptables-save v1.6.0 on Sat Oct 19 03:04:33 2019
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Sat Oct 19 03:04:33 2019
# Generated by iptables-save v1.6.0 on Sat Oct 19 03:04:33 2019
*mangle
:PREROUTING ACCEPT [2948:145966]
:INPUT ACCEPT [2946:145846]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [4831:260168]
:POSTROUTING ACCEPT [4831:260168]
COMMIT
# Completed on Sat Oct 19 03:04:33 2019
# Generated by iptables-save v1.6.0 on Sat Oct 19 03:04:33 2019
*filter
:INPUT ACCEPT [2946:145846]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [4831:260168]
COMMIT
# Completed on Sat Oct 19 03:04:33 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment