工作台 · 本地优先
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,
相关工具
更多配方
- Decode a JWT and read its payload
- Extract one claim from a JWT
- Base64-decode, then prettify JSON
- Convert JSON to YAML
- Parse a query string into JSON
- Get one parameter from a URL
- Convert JSON to a query string
- Convert YAML to JSON
- Flatten a JSON array into CSV
- Merge IP ranges into CIDR blocks
- Remove duplicate lines and sort