^

IpTables Flush And Allow All Traffic

Article 15 in Networking

2020-07-25 18:04:25 from admin
IpTables Flush And Allow All Traffic
Networking / IpTables
Last Review on: 2021-03-03 20:40:54 | Hits: 249

USE WITH OWN RISK - ALL FIREWALL RULES WILL BE DELETED

#!/bin/sh
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

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.
Comment Section
Currently 1 Upvotes!
captcha image

System - 2021-01-05 19:59:36
We appreciate comments on our site!

This Website is using Session Cookies for Site Functionality and AWStats.
Radio