firewall: don't clear the mangle table at startup or stop - it doesn't use it and clearing it breaks qos
SVN-Revision: 14114
This commit is contained in:
parent
ae1b82df55
commit
4fc8f4c5c8
@ -154,9 +154,7 @@ fw_defaults() {
|
||||
$IPTABLES -P FORWARD DROP
|
||||
|
||||
$IPTABLES -F
|
||||
$IPTABLES -t mangle -F
|
||||
$IPTABLES -t nat -F
|
||||
$IPTABLES -t mangle -X
|
||||
$IPTABLES -t nat -X
|
||||
$IPTABLES -X
|
||||
|
||||
@ -419,9 +417,7 @@ fw_init() {
|
||||
|
||||
fw_stop() {
|
||||
$IPTABLES -F
|
||||
$IPTABLES -t mangle -F
|
||||
$IPTABLES -t nat -F
|
||||
$IPTABLES -t mangle -X
|
||||
$IPTABLES -t nat -X
|
||||
$IPTABLES -X
|
||||
$IPTABLES -P INPUT ACCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user