Like this article? We recommend
Removing the Firewall Rule Set
The following script is useful when you want to remove the firewall rule set from the kernel:
#!/bin/sh FW="/sbin/iptables" $FW flush # clear all firewall chains $FW delete-chain # delete all user-defined chains # set the default action of the built-in chains to ACCEPT, the default at boot time for ch in INPUT OUTPUT FORWARD; do $FW -P $ch ACCEPT done
We suggest storing this script in /etc/sun_fw/removefw.sh.