AllowedIPs 计算器
在浏览器里计算 WireGuard 的 AllowedIPs:从全部流量里去掉局域网或任意 IPv4 网段,结果直接复制进 Proton VPN 配置。

什么时候用
WireGuard 配置只有“走”的名单,没有“不走”的写法。想让局域网或某个网段直连,就得把其余地址全列出来,这里替你算。
用法
- 左边一行写一个不走 VPN 的网段,单个地址也行。
- 复制结果,替换配置里 [Peer] 下的
AllowedIPs。 - 断开重连。
默认的三段是家庭和公司局域网用的私有地址。
两点提醒
- 在不支持断网保护的客户端里,写成很多小段后,有些客户端不再自动拦截其余流量。
- 只处理 IPv4。IPv6 要么全走,要么整段去掉。
下一班
- VPN 小工具
- Proton VPN 免费服务器
- Proton VPN Plus 多少钱
- Proton VPN 多重跳转
- Proton VPN 安全吗
- Proton VPN 自定义 DNS
- Proton VPN 支付宝
- Proton VPN 退款
- Proton VPN 下载
本页词条:WireGuard AllowedIPs、排除局域网网段、AllowedIPs 怎么填