voyager-fu
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080

其中eth0为外网网卡名称

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

分类:

技术点:

相关文章:

猜你喜欢
相关资源
相似解决方案