Skip to content

Instantly share code, notes, and snippets.

View andr1an's full-sized avatar
🐡

Sergey Andrianov andr1an

🐡
View GitHub Profile
@andr1an
andr1an / gist:8a80a9da0b008e645649b6f8d59383ae
Created November 20, 2018 09:21 — forked from jstrosch/gist:3190568
iptables - delete all rules/chains
#view current chains
$ iptables -L
#remove/flush all rules & delete chains
$ iptables -F
$ iptables -X
$ iptables -t nat -F
$ iptables -t nat -X
$ iptables -t mangle -F
$ iptables -t mangle -X