1.7. 启用从 Satellite 服务器和客户端到胶囊服务器的连接
在您要安装 Capsule 的基本操作系统上,您必须启用从 Satellite 服务器和客户端到 Capsule 服务器的传入连接,并使这些规则在重启后保留。
流程
在您要安装 Capsule 的基本操作系统中,输入以下命令打开 Satellite 服务器和客户端与 Capsule 服务器通信的端口:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 使更改持久:
firewall-cmd --runtime-to-permanent
# firewall-cmd --runtime-to-permanent
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
验证
输入以下命令:
firewall-cmd --list-all
# firewall-cmd --list-all
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
如需更多信息,请参阅 Red Hat Enterprise Linux 8 安全网络 中的 使用和配置 firewalld。