Ubuntu
- 开放所有端口
iptables -P INPUT ACCEPT && iptables -P FORWARD ACCEPT && iptables -P OUTPUT ACCEPT && iptables -F
- 删除防火墙
rm -rf /etc/iptables && reboot
Centos
- 删除多余附件
systemctl stop oracle-cloud-agent && systemctl disable oracle-cloud-agent && systemctl stop oracle-cloud-agent-updater && systemctl disable oracle-cloud-agent-updater
- 停用Firewall
systemctl stop firewalld.service && systemctl disable firewalld.service