Do you want to clear all rules in your firewall? Just use this shellscript:
#!/bin/sh
echo "Stopping firewall and allowing everyone..."
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
Cheers, Rodolfo
<< All Posts
Previous post:
How to disable email alert level 2 in OSSEC HIDS
How to disable email alert level 2 in OSSEC HIDS