1. apt-get install iptables
2. iptables -I INPUT -p tcp --dport 7070 -j ACCEPT
Ubuntu 下开放某个端口
最新推荐文章于 2025-06-18 16:13:44 发布
1. apt-get install iptables
2. iptables -I INPUT -p tcp --dport 7070 -j ACCEPT