Loading...
CentOS7转发非3306端口到3306端口需求场景服务器的mysql需要对外访问,但为了安全起见,对外需使用33077端口。实现方案通过防火墙firewalld来实现端口转发。过程代码查询端口转发情况firewall-cmd --query-masquerade firewall-cmd --add-masquerad --permanent firewall-cmd --reload注...