onlinetools.dev
工作台 · 本地优先

WireGuard AllowedIPs: route everything except your LAN

本地运行

AllowedIPs = 0.0.0.0/0 sends everything through the tunnel, including traffic to your printer and router. WireGuard has no "except" syntax, so this pipeline subtracts the ranges you list (private IPv4, IPv6 unique-local and link-local by default) and joins the remaining blocks into one line you can paste into the [Peer] section.

步骤: Merge into CIDRs10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7, fe80::/10 Join lines,
相关工具
更多配方