lx01xsz
V2EX  ›  问与答

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

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