您好,欢迎来到外链网!
当前位置:外链网 » 站长资讯 » 专业问答 » 文章详细 订阅RssFeed

linux开放8080端口,linux查看8080端口

来源:互联网 浏览:101次 时间:2023-04-08
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080

其中eth0为外网网卡名称

iptables命令用法:http://man.linuxde.net/iptables

转载于:https://www.cnblogs.com/便宜香港vpsvoyager-fu/p/9699728.html

76125431