V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
bigbusty
V2EX  ›  问与答

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

  •  
  •   bigbusty · 2014-06-05 20:14:51 +08:00 · 4621 次点击
    这是一个创建于 3612 天前的主题,其中的信息可能已经有所发展或是发生改变。
    是不是除了做个虚拟机,没别的选择了呢
    6 条回复    2014-06-06 09:46:12 +08:00
    breeswish
        1
    breeswish  
       2014-06-05 20:18:13 +08:00
    iptables?
    bigbusty
        2
    bigbusty  
    OP
       2014-06-05 20:19:51 +08:00
    @breeswish 没有路由器的权限,而且在防火墙后面,iptables能用么
    breeswish
        3
    breeswish  
       2014-06-05 20:31:42 +08:00
    @bigbusty https://github.com/breeswish/reverse-tcp 写过一个功能类似的小工具 :) 不推荐用在production

    等楼下给出更好工具~
    zeyexe
        4
    zeyexe  
       2014-06-05 20:40:36 +08:00
    datapipe 可能是你想要的

    Usage: dp localhost localport remotehost remoteport


    https://github.com/bovine/datapipe/blob/master/datapipe.c
    feuvan
        5
    feuvan  
       2014-06-05 22:41:21 +08:00 via iPhone
    datapipe.c
    要 ipv6 支持的话 github gist 搜索 datapipe6.c ;-)
    sogg
        6
    sogg  
       2014-06-06 09:46:12 +08:00
    试试 rinetd: internet “redirection server''
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3736 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:50 · PVG 08:50 · LAX 17:50 · JFK 20:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.