[package] fix nocatauth check for iptables (#6929)