|
|
@@ -389,11 +389,6 @@ fw_restore_user(){
|
|
|
|
|
|
fw_stop () {
|
|
|
do_this $IP_TABLES -F
|
|
|
- do_this $IP_TABLES -t nat -F
|
|
|
- do_this $IP_TABLES -t mangle -F
|
|
|
- do_this $IP_TABLES -P $IT_INPUT DROP
|
|
|
- do_this $IP_TABLES -P FORWARD DROP
|
|
|
- do_this $IP_TABLES -P $IT_OUTPUT ACCEPT
|
|
|
}
|
|
|
|
|
|
##########################
|
|
|
@@ -402,11 +397,6 @@ fw_stop () {
|
|
|
|
|
|
fw_clear () {
|
|
|
do_this $IP_TABLES -F
|
|
|
- do_this $IP_TABLES -t nat -F
|
|
|
- do_this $IP_TABLES -t mangle -F
|
|
|
- do_this $IP_TABLES -P $IT_INPUT ACCEPT
|
|
|
- do_this $IP_TABLES -P FORWARD ACCEPT
|
|
|
- do_this $IP_TABLES -P $IT_OUTPUT ACCEPT
|
|
|
do_this $IP_TABLES -X
|
|
|
}
|
|
|
|