GBase 8a 防火墙端口

GBase 8a 开启防火墙的端口列表
组件名称默认端口端口协议类型端口含义
GCluster5258TCPCoordinator 集群节点对外提 供服务的端口
GNode5050TCPData 集群节点对外提供服务的端口
GCware5918TCP/UDPgcware 节点间通讯端口
gcware5919TCP外部连接 gcware 节点端口
syncServer5288TCPsyncServer 服务端口
GcrecoverMonit6288TCPGcrecover 服务端口
数据远程导出端口16066-16166TCP数据远程导出端口(客户端开放)
防火墙命令:
# gcluster节点
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="tcp" port="5258" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="tcp" port="5258" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="tcp" port="5258" accept"

# gnode节点
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="tcp" port="5050" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="tcp" port="5050" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="tcp" port="5050" accept"

# gcware节点(节点之间互相)
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="tcp" port="5918" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="tcp" port="5918" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="tcp" port="5918" accept"
# gcware 有两种协议
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="udp" port="5918" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="udp" port="5918" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="udp" port="5918" accept"

# gcware节点(外部连接)
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="tcp" port="5919" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="tcp" port="5919" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="tcp" port="5919" accept"

# syncServer服务
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="tcp" port="5288" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="tcp" port="5288" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="tcp" port="5288" accept"

# GcRecover服务
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="tcp" port="6268" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="tcp" port="6268" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="tcp" port="6268" accept"

# 数据远程导出
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.68" port protocol="tcp" port="16066-16166" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.69" port protocol="tcp" port="16066-16166" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.140.70" port protocol="tcp" port="16066-16166" accept"

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值