Skip to navigation
Delete or clean all iptables rules
03.12.21
after restart all all iptables rules are cleared, you can do this as well with the command iptables -F here are important commands: # Accept all traffic first to avoid ssh lockdown via iptables firewall rules # iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT # Flush All Iptables Chains/Firewall rules # iptables -F # Delete all Iptables Chains # iptables -X # Flush all counters too # iptables -Z # Flush and delete all nat and mangle # iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X iptables iptables -t raw -F iptables -t raw -X
https://www.cyberciti.biz/tips/linux-iptables-how-to-flush-all-rules.html
Reply
Anonymous
Information Epoch 1758195289
Save trees.
Home
Notebook
Contact us