Skip to content
Contents
GuidesOpenWrt

WireGuard AllowedIPs revert in the LuCI QR code. Check the exported routes

The AllowedIPs in the QR code determine which destination addresses match this peer after import. First, check the local import preview, then verify the client's actual routing selection.

Applies to · LuCI · WireGuard · AllowedIPs

What to check

In the configuration dialog, specify the required private network prefix.

Connect over Ethernet and run the following commands in an SSH session on the router.

wg show interfaces
ip rule show

How to interpret the result

If the preview still contains 0.0.0.0/0 or ::/0, verify that the QR code was regenerated after editing. If the preview shows a private network prefix but public traffic is still routed through the tunnel, check the currently used client configuration and any overlapping routes.

Verify and recover

Import the test configuration locally. Check that a private destination uses WireGuard and public traffic uses the intended exit. Keep the old client profile and protect the QR code and private key.

Related guide · How to route your home through WireGuard on OpenWrt and verify the egress IP

Explore hardware

Comments