lx01xsz
V2EX  ›  问与答

请问公网 IPV6 开 WireGuard 后, 如何阻止公网直接访问 Web 服务

  •  
  •   lx01xsz · Oct 2, 2024 · 1714 views
    This topic created in 587 days ago, the information mentioned may be changed or developed.
    怕被运营商封, 公网 IPV6 开 WireGuard 后, 如何阻止公网直接访问 Web 服务
    4 replies    2024-10-02 22:30:37 +08:00
    fengyj
        1
    fengyj  
       Oct 2, 2024
    直接禁 443/80 端口就可以了
    monkey110
        2
    monkey110  
       Oct 2, 2024
    防火墙呗,只开一个 WireGuard 端口其他全关。
    sky96111
        3
    sky96111  
       Oct 2, 2024 via Android
    ipv4 的 nat 让好多人忘记了有一个东西叫防火墙…
    jim9606
        4
    jim9606  
       Oct 2, 2024
    如果你是在主路由上开 wireguard 服务让外部接入,那只有 wireguard 的服务端口是暴露的。
    openwrt 的默认设置是阻止 wan ipv6 入站的(除部分 icmpv6 、dhcpv6 、ike 流量),除非你手贱或者偷懒关了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5639 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 08:28 · PVG 16:28 · LAX 01:28 · JFK 04:28
    ♥ Do have faith in what you're doing.