全球主机交流论坛

标题: 救救萌新!请问如何将本地2W-5W的端口转发到一个公网的777... [打印本页]

作者: godkiller321    时间: 2020-8-25 16:23
标题: 救救萌新!请问如何将本地2W-5W的端口转发到一个公网的777...
如标题 监听本地的2W-5W端口段并转发到一个公网的小鸡的7777端口上面

谢谢各位大佬!
作者: Syc    时间: 2020-8-25 16:24
iptables NAT
作者: yooooo    时间: 2020-8-25 16:26
iptables 最简单
作者: aria2net    时间: 2020-8-25 16:33
haproxy 更简单。
作者: godkiller321    时间: 2020-8-25 16:37
aria2net 发表于 2020-8-25 16:33
haproxy 更简单。

谢谢大佬 好像很不错 我试试
作者: zdszf    时间: 2020-8-25 17:16
https://github.com/mixool/script/blob/debian-9/nft-nat.sh
作者: 王友元同学    时间: 2020-8-25 17:18
iptables




欢迎光临 全球主机交流论坛 (https://loc.qiche.eu.org/) Powered by Discuz! X3.4