Check if port is open or blocked in iptables