Skip to main content

open new port with IP Tables in Oracle Cloud

 open new port with IP Tables in Oracle Cloud


To list all IP Tables rules:

iptables -L


To save a backup of the origintal IP Tables rules:

iptables-save > iptables_backup.txt


To allow port 80 in IP Tables:

iptables -A INPUT -p tcp --dport 80 -j ACCEPT


To save the changes and make them permanent:

iptables-save


Comments