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

View file

@ -77,6 +77,7 @@ addif() {
delif() { delif() {
logger "removing $1 from firewall zone $2" logger "removing $1 from firewall zone $2"
$IPTABLES -D input -i $1 -j 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_ACCEPT -o $1 -j ACCEPT
$IPTABLES -D zone_$2_DROP -o $1 -j DROP $IPTABLES -D zone_$2_DROP -o $1 -j DROP
$IPTABLES -D zone_$2_REJECT -o $1 -j reject $IPTABLES -D zone_$2_REJECT -o $1 -j reject