V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
bigbusty
V2EX  ›  问与答

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

  •  
  •   bigbusty · Jun 5, 2014 · 5408 views
    This topic created in 4343 days ago, the information mentioned may be changed or developed.
    是不是除了做个虚拟机,没别的选择了呢
    6 replies    2014-06-06 09:46:12 +08:00
    breeswish
        1
    breeswish  
       Jun 5, 2014
    iptables?
    bigbusty
        2
    bigbusty  
    OP
       Jun 5, 2014
    @breeswish 没有路由器的权限,而且在防火墙后面,iptables能用么
    breeswish
        3
    breeswish  
       Jun 5, 2014
    @bigbusty https://github.com/breeswish/reverse-tcp 写过一个功能类似的小工具 :) 不推荐用在production

    等楼下给出更好工具~
    zeyexe
        4
    zeyexe  
       Jun 5, 2014
    datapipe 可能是你想要的

    Usage: dp localhost localport remotehost remoteport


    https://github.com/bovine/datapipe/blob/master/datapipe.c
    feuvan
        5
    feuvan  
       Jun 5, 2014 via iPhone
    datapipe.c
    要 ipv6 支持的话 github gist 搜索 datapipe6.c ;-)
    sogg
        6
    sogg  
       Jun 6, 2014
    试试 rinetd: internet “redirection server''
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   920 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 22:32 · PVG 06:32 · LAX 15:32 · JFK 18:32
    ♥ Do have faith in what you're doing.