能不能不卸载 firewalld 安装 iptables
centos7
把 -p port1:port2 改成 -p 127.0.0.1:port1:port2 可以限制仅限本地访问
-p port1:port2
-p 127.0.0.1:port1:port2