diff options
Diffstat (limited to 'package/network/config/firewall/files/lib')
-rw-r--r-- | package/network/config/firewall/files/lib/core_interface.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/config/firewall/files/lib/core_interface.sh b/package/network/config/firewall/files/lib/core_interface.sh index 3d6718431..7400e2d35 100644 --- a/package/network/config/firewall/files/lib/core_interface.sh +++ b/package/network/config/firewall/files/lib/core_interface.sh @@ -106,6 +106,9 @@ fw_configure_interface() { fw $action $mode r PREROUTING ${chain}_notrack $ { -i "$ifname" $inet } fw $action $mode n POSTROUTING ${chain}_nat $ { -o "$ifname" $onet } + # Flush conntrack table + echo f >/proc/net/nf_conntrack 2>/dev/null + lock -u /var/run/firewall-interface.lock } |