How to disable firewall on Ubuntu on Oracle Cloud instance

The firewall applied on newly created instance is using iptables. You can use these two commands to disable it;

#iptables -F
#netfilter-persistent save

First command is to clear out all iptables rule-set, and the latter is to save empty rule-set to disk to make it persistent on every reboot.

Leave a Reply

Your email address will not be published. Required fields are marked *