Skip to content

Guides

OpenWrt installation and firmware guides · WireGuard

Identify the hardware revision before choosing firmware. For installation and recovery, follow the branch for your computer and the mode the device enters.

Before you choose

Source linked
01Source linked

Does your VPN use the CPU’s AES acceleration? Check the data path

Seeing that the CPU supports AES instructions does not allow immediate inference of VPN throughput. First, verify the encryption algorithm used by the tunnel, then determine whether data processing occurs in user space or kernel space, and finally look for concrete evidence of the actual implementation involved in processing. CPU instructions, dedicated encryption engines, and NAT forwarding acceleration are distinct mechanisms and cannot be collectively concluded under a single "hardware acceleration" status.

Read guide
02Source linked

How to Choose an OpenWrt Router for WireGuard VPN

Choose WireGuard hardware after deciding which traffic enters the tunnel, its direction and sustained bandwidth, and what the remote connection can provide. Plain routing, wireless rates and OpenVPN benchmarks are not WireGuard measurements. Useful evidence identifies the exact device, software, topology and test conditions.

Read guide
03Source linked

The LuCI PBR page times out with about 130 WireGuard interfaces

A large number of interfaces increases the workload for collecting data on the status page. Page timeout and policy forwarding failure must be separately evaluated using request latency and actual egress judgment.

Read guide
04Source linked

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.

Read guide
05Source linked

Compare AmneziaWG and WireGuard using the same path and MTU

On a controlled link, compare two protocols by listing firmware, kernel, implementation version, and available packets for the same pair of devices.

Read guide
06Source linked

Add a third office to an OpenWrt WireGuard network

Assign a separate LAN, tunnel prefix, and point of contact for each office.

Read guide
07Source linked

Why does OpenWrt show IPv6 metric 1024 when WireGuard is set to 0?

A metric of zero can select the IPv6 default value. Check the route the kernel installed before changing tunnel priority.

Read guide
08Source linked

How to block internet access for an OpenWrt subnet when WireGuard drops

First, define the protected scope. Assign devices that need network disconnection protection to a separate network zone.

Read guide
09Source linked

Benchmark OpenVPN, WireGuard and IPsec fairly on ARM, x86 and MIPS

Protocol names alone cannot indicate speed. A comparison table must include at least device revisions, endpoint roles, firmware versions, encryption…

Read guide
10Source linked

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

Record the public IPv4 address, public IPv6 address and DNS path from a wired client before switching it to WireGuard.

Read guide
11Source linked

Rotate between WireGuard peers on OpenWrt with a tested fallback

Set up interfaces and routing tables on both endpoints, each under your own or authorized control.

Read guide
12Source linked

Connect your phone to an OpenWrt WireGuard server from a mobile network

A mobile device accessing the NAS requires external reachability to the WireGuard listening port on OpenWrt.

Read guide
13Source linked

Verify both LANs can reach each other over site-to-site WireGuard on OpenWrt

First, configure A and B to use non-overlapping subnets. For example, A uses 192.168.21.0/24 and B uses 192.168.22.0/24.

Read guide
14Source linked

WireGuard drops the custom Endpoint when exporting a configuration behind double NAT

In a dual-NAT environment, the exported Endpoint must reflect an address and port reachable from external clients. Connectivity within the internal network alone is insufficient to validate the export result.

Read guide
15Source linked

Why a WireGuard endpoint still routes to lo after automatic routes are disabled

After disabling automatic addition of AllowedIPs routes, the outer endpoint address may still be affected by local routing rules. Manually verify the routing selection for both the destination endpoint and the destination within the tunnel.

Read guide
16Source linked

Measuring WireGuard throughput at the tunnel endpoints

The router forwarding terminal traffic via WireGuard, versus the router establishing a WireGuard tunnel itself, represents two distinct test scenarios. The former may only handle outer-layer UDP routing or NAT, while the latter additionally involves cryptographic operations and encapsulation at the tunnel endpoint. A standard NAT performance cannot be directly translated into this device's WireGuard performance.

Read guide
17Source linked

The downloaded WireGuard configuration lacks DNS despite a correct preview and QR code

The preview, QR code, and downloaded files from the same configuration might originate from different export paths. First, identify where the DNS field disappears, then determine whether to adjust the router or the client.

Read guide
18Source linked

WireGuard installation needs ip on OpenWrt: check the provider and test an interface

If LuCI reports a missing ip dependency, distinguish package resolution, kernel interface creation and peer connectivity. Being able to run ip over SSH establishes that a command exists. Package resolution also depends on the architecture, feeds and package metadata.

Read guide
19Community sourced

Understand WireGuard benchmarks and SoC references

The 31 community WireGuard samples can give a chipset some context. Before comparing two results, check the firmware, traffic direction and topology behind each number.

Read guide
20Source linked

One unresolved WireGuard peer hostname prevents the interface from starting

When WireGuard starts, it needs to resolve the domain name of the endpoint. The handling differs if a name cannot be resolved versus if the peer endpoint is offline on an already established interface.

Read guide
21Source linked

How to give a WireGuard peer a reverse DNS name on OpenWrt

A WireGuard peer label may never appear in DNS. First confirm which device owns the fixed tunnel address. The outer Endpoint can change, and AllowedIPs can cover an entire remote network.

Read guide
22Source linked

Measured WireGuard samples

Compare rows by device and operating system. These are community measurements under the reported conditions. Use the exact model for a purchase decision and measure again with your peer and link. A CPU family or DMIPS score alone gives no guaranteed tunnel rate.

Read guide