如何将本地80端口的请求转发到8080端口,当前主机IP为192.168.1.80

iptables -t nat -A PREROUTING -d 192.168.1.80 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.80:8080

 

相关文章:

  • 2021-09-08
  • 2021-10-12
  • 2021-12-03
  • 2022-12-23
  • 2021-09-27
  • 2021-12-14
猜你喜欢
  • 2021-06-09
  • 2021-05-23
  • 2021-10-14
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案