请问如何在 Linux 下有什么好的内网端口映射软件,Win 平台下试过 nat123,但是没有 Linux 下的解决方案。

2014 年 6 月 5 日
 bigbusty
是不是除了做个虚拟机,没别的选择了呢
5408 次点击
所在节点    问与答
6 条回复
breeswish
2014 年 6 月 5 日
iptables?
bigbusty
2014 年 6 月 5 日
@breeswish 没有路由器的权限,而且在防火墙后面,iptables能用么
breeswish
2014 年 6 月 5 日
@bigbusty https://github.com/breeswish/reverse-tcp 写过一个功能类似的小工具 :) 不推荐用在production

等楼下给出更好工具~
zeyexe
2014 年 6 月 5 日
datapipe 可能是你想要的

Usage: dp localhost localport remotehost remoteport


https://github.com/bovine/datapipe/blob/master/datapipe.c
feuvan
2014 年 6 月 5 日
datapipe.c
要 ipv6 支持的话 github gist 搜索 datapipe6.c ;-)
sogg
2014 年 6 月 6 日
试试 rinetd: internet “redirection server''

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://study.congcong.us/t/115994

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX