firewall: clear the MSSFIX rules

SVN-Revision: 13826
This commit is contained in:
Felix Fietkau 2009-01-02 21:58:58 +00:00
parent 6f35d8b500
commit c7ff578b9f
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ addif() {
delif() {
logger "removing $1 from firewall zone $2"
$IPTABLES -D input -i $1 -j zone_$2
$IPTABLES -D zone_$2_MSSFIX -o $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
$IPTABLES -D zone_$2_ACCEPT -o $1 -j ACCEPT
$IPTABLES -D zone_$2_DROP -o $1 -j DROP
$IPTABLES -D zone_$2_REJECT -o $1 -j reject