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,
Пов’язані інструменти
Більше рецептів