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

OS X 下如何显示自己是内网还是外网,除了用 aMule

  •  
  •   cuthead · Feb 13, 2015 · 3756 views
    This topic created in 4091 days ago, the information mentioned may be changed or developed.
    因为是用路由器上网,DMZ开没开影响内外网,故需要测试一下
    13 replies    2015-02-16 18:36:29 +08:00
    abcfyk
        1
    abcfyk  
       Feb 13, 2015   ❤️ 1
    ip138
    cuthead
        2
    cuthead  
    OP
       Feb 13, 2015
    @abcfyk 在哪显示的,给个图
    asing
        3
    asing  
       Feb 14, 2015
    cuthead
        4
    cuthead  
    OP
       Feb 14, 2015
    @asing 在哪显示的?找不到啊,只看到ip,不能决定是内外网
    cuthead
        5
    cuthead  
    OP
       Feb 14, 2015
    @asing 网站是不能决定是内外网的,因为测试内网要主动发送数据,网站是不能自动让用户主动发送数据的,只有软件可以
    prwon
        6
    prwon  
       Feb 14, 2015
    iStat Menus, 这是针对标题的一个解决方案,不仅仅可以看内网ip也可以看外网ip;
    至于说DMZ,这和标题有关系么 ...
    cuthead
        7
    cuthead  
    OP
       Feb 14, 2015
    @prwon 我这里指的内网外网不是指的ip,指的是在LAN内路由器防火墙的设置,这是无法从ip看出来的,比如所谓的内网ip可以端口映射获得外网效果。
    linhua
        8
    linhua  
       Feb 14, 2015
    @cuthead ip138 + mtr
    cattyhouse
        9
    cattyhouse  
       Feb 15, 2015 via iPhone
    ifconfig
    shakespark
        10
    shakespark  
       Feb 15, 2015   ❤️ 1
    如果是要判断路由器分到的ip是否是公网ip,那么比较路由器分到的ip和ip138上显示的ip,如果相同,则说明拨到的是公网ip

    如果要判断路由器的端口映射或者DMZ是否生效,在路由器分到公网ip的前提下,找其他人/其他公网ip telnet到 路由器公网ip的你对应电脑打开的tcp端口,能连上则说明端口映射或者DMZ已生效(80/8080等运营商默认封掉的端口除外)
    smileawei
        11
    smileawei  
       Feb 15, 2015
    额 ip138的数据不一定准的。比如在无耻的长城宽带面前。
    lonelygo
        12
    lonelygo  
       Feb 15, 2015
    feikaras
        13
    feikaras  
       Feb 16, 2015
    @smileawei 对,如果用网站测的话,流量偷渡的ISP下就不对了。

    @cuthead utorrent之类的也能测试。你这个测试必须由外部的用户向你的机器的端口发送数据。判断数据是不是接受到的办法才能确认。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   942 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 21:47 · PVG 05:47 · LAX 14:47 · JFK 17:47
    ♥ Do have faith in what you're doing.