iptables open port 80 only for one ip code example Example: iptables open port sudo iptables -A INPUT -p tcp --dport xxxx -j ACCEPT