Loading

linux开放防火墙端口方法

重置端口:

echo '端口' > /www/server/panel/data/port.pl && service bt restart

防火墙开启端口:

iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 端口 -j ACCEPT
posted @ 2019-11-10 16:14  fsdffsdf  阅读(359)  评论(0编辑  收藏  举报