Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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