Oracle开放全部端口并关闭防火墙 - tuhaiyang/soft GitHub Wiki

登陆甲骨文后台打开实例
找到子网点击进去

点击进去安全组

修改安全组,为图描述选项随意!

一、Ubuntu系统

1、开放所有端口

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

2、关闭或强制删除防火墙

apt remove iptables
apt-get purge netfilter-persistent && reboot
rm -rf /etc/iptables && reboot

二、Centos系统

1、删除多余附件

systemctl stop oracle-cloud-agent
systemctl disable oracle-cloud-agent
systemctl stop oracle-cloud-agent-updater
systemctl disable oracle-cloud-agent-updater

2、停止firewall并禁止自启动

systemctl stop firewalld.service
systemctl disable firewalld.service