diff --git a/parental-control/files/etc/init.d/parentalcontrol b/parental-control/files/etc/init.d/parentalcontrol index 72cbe5af1..bd90c0ac9 100755 --- a/parental-control/files/etc/init.d/parentalcontrol +++ b/parental-control/files/etc/init.d/parentalcontrol @@ -44,8 +44,10 @@ configure_fw_rules() { else # Now flush the existing connections, otherwise, # URL filtering cannot be performed on already open sites. - if [ -n "$(which conntrack)" ]; then - sleep 5 + if which hw_nat > /dev/null 2>&1; then + hw_nat -! > /dev/null 2>&1 + fi + if which conntrack > /dev/null 2>&1; then conntrack -F > /dev/null 2>&1 fi