zhouquanbest
V2EX  ›  问与答

联通想公网访问内网 NAS 除了申请公网 IP 还需要申请桥接拨号吗?

  •  
  •   zhouquanbest · Jun 8, 2023 · 1955 views
    This topic created in 1075 days ago, the information mentioned may be changed or developed.

    坐标北京联通,前段时间折腾软路和 NAS 等,已经找师傅申请了公网 IP ,亲测能 ping 通。
    因为想让不同设备负责不同职能来降低风险,所以不想桥接软路由拨号,还是让光猫自己来 (反正就 500M )。

    1. 我用光猫自带的端口转发 orDMZ 给子网的一个 mac ,mac 开个 python 的 simpleHttpServer ,走外网 ip 无法连通
    2. 光猫 dmz 到软路由,发现通过软路由防火墙的规则,可以控制我的外网 ip 能不能被 ping 通

    第一次折腾外网 IP ,没想通为啥设备防火墙能控制能不能 ping 通,却无法访问。难道说光猫 dmz 是受限的,还得找联通申请其他权限?倒是看到申请桥接的人都 ok 了。

    7 replies    2023-06-08 18:37:02 +08:00
    mozhizhu
        1
    mozhizhu  
       Jun 8, 2023
    内网架一个 Nginx proxy manage ,全部都走这个 nginx 转发
    nekoneko
        2
    nekoneko  
       Jun 8, 2023
    北京联通不是自带公网 ip 吗? 我也是北京联通, 只不过我没走路由器直连的🐱
    zhouquanbest
        3
    zhouquanbest  
    OP
       Jun 8, 2023
    @nekoneko 没吧 我申请了才给 虽然不是固定 IP
    zhouquanbest
        4
    zhouquanbest  
    OP
       Jun 8, 2023
    @mozhizhu 关键是只有公网 IP 没转发到 nginx
    nekoneko
        5
    nekoneko  
       Jun 8, 2023
    @zhouquanbest #3 那就不知道了, 我是直接就有, 只是 80 被屏蔽了.
    nothingistrue
        6
    nothingistrue  
       Jun 8, 2023
    1 ,不要把光猫当路由器用。
    2 ,就是路由器的 DMZ 功能,也是个问题儿童类型的功能。

    申请公网 IP 但是不桥接,你那个宽带师傅估计想砍你。
    zhouquanbest
        7
    zhouquanbest  
    OP
       Jun 8, 2023
    @nothingistrue
    我是主路由接在光猫下级
    因为在折腾软路由 容易搞挂,为了防止全家断网,就光猫保留拨号,出问题时其它设备能临时切换到光猫上。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5569 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 03:35 · PVG 11:35 · LAX 20:35 · JFK 23:35
    ♥ Do have faith in what you're doing.