Skip to content

Commit

Permalink
fixed #29
Browse files Browse the repository at this point in the history
  • Loading branch information
aa65535 committed Jan 2, 2015
1 parent 2ada05f commit 5798507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/shadowsocks.rule
Expand Up @@ -50,7 +50,7 @@ flush_r() {
PREROUTING=zone_lan_prerouting
fi

eval $(echo "$IPT" | grep "SS_SPEC_[WL]AN_AC$" | \
eval $(echo "$IPT" | grep "\-j SS_SPEC_[WL]AN_AC" | \
sed -e 's/^-A/iptables -t nat -D/' -e 's/$/;/')
iptables -t nat -F SS_SPEC_LAN_AC 2>/dev/null && \
iptables -t nat -X SS_SPEC_LAN_AC
Expand Down

0 comments on commit 5798507

Please sign in to comment.