1. apt-get install iptables
2. iptables -I INPUT -p tcp --dport 7070 -j ACCEPT
Ubuntu 下开放某个端口
最新推荐文章于 2024-05-29 09:16:23 发布
1. apt-get install iptables
2. iptables -I INPUT -p tcp --dport 7070 -j ACCEPT