甲骨文如何正确开放端口

目录
  1. 一、进入自己的实例,设置子网
  2. 二、删除、关闭、打开各自系统的无用附件、防火墙、端口及规则
    1. Ubuntu系统下:
    2. Centos系统下:

一、进入自己的实例,设置子网

甲骨文如何正确开放端口

甲骨文如何正确开放端口

开放所有端口,当然你也可以设置需要开放的端口,我这里是所有开放

甲骨文如何正确开放端口

二、删除、关闭、打开各自系统的无用附件、防火墙、端口及规则

Ubuntu系统下:

开放所有端口
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
Ubuntu镜像默认设置了Iptable规则,关闭它
apt-get purge netfilter-persistent
reboot
或者强制删除
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
禁止firewall开机启动
systemctl disable firewalld.service

发布者:黄大仙,转载请注明出处:https://jiami.dog/4386.html

(0)
黄大仙的头像黄大仙
Google Domains 土耳其区,.com/.net/.org/.xyz 域名仅¥29.1/年!
上一篇 2022年7月11日 下午5:32
注册美区Apple ID账号,以及礼品卡购买
下一篇 2022年12月1日 下午6:34

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注