^

IpTables Flush And Allow All Traffic

Article 15 in Networking

<< Back
2020-07-25 18:04:25 from bugfish
IpTables Flush And Allow All Traffic
Networking / IpTables
Last Review on: 2022-08-07 11:48:18 | Hits: 879

USE WITH OWN RISK - ALL FIREWALL RULES WILL BE DELETED

IPv4

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

 

IPv6

ip6tables -F
ip6tables -X
ip6tables -t nat -F
ip6tables -t nat -X
ip6tables -t mangle -F
ip6tables -t mangle -X
ip6tables -P INPUT ACCEPT
ip6tables -P FORWARD ACCEPT
ip6tables -P OUTPUT ACCEPT

I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.

Comments

Currently 2 Upvotes!

captcha image
System - 2022-08-17 03:19:16
Thanks for visiting my page and have a nice day!
Staff may be in trouble!
Theme
Switch: 0 | Arrive: 1
This Website is using Session Cookies for Site Functionality and AWStats.