Skip to content

Instantly share code, notes, and snippets.

View palawer's full-sized avatar

palawer palawer

View GitHub Profile
@palawer
palawer / gist:a10eb54236c37f78c85fd2749715beaf
Created August 26, 2022 16:16 — 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