HOW TO TAKE ALL IP TABLES ON A SERVER code example
Example 1: iptables open port
sudo iptables -A INPUT -p tcp --dport xxxx -j ACCEPT
Example 2: remove all iptables rules
sudo iptables -F
sudo iptables -A INPUT -p tcp --dport xxxx -j ACCEPT
sudo iptables -F