OpenWRT - Wireguard

  1. Create Interface and Swith Protocol to WireGuard VPN

  2. Tick the Bring up on boot option

  3. Add a Listen Port

  4. Add a IP Address from the same Subnet as the WireGuard Server

  5. Firewall settings should include the current WAN interface and WireGuard interface:

  6. Configure Peers section with WireGuard Server:

    1. Description can be anything

    2. Public Key of the WireGuard Server is required here

    3. Allowed IPs should be all IPs i.E. 0.0.0.0/0

    4. Endpoint Host can be either a FQDN i.E. DDNS Entry: example.duckdns.org or a Public IP

    5. Endpoint Port should be the port that the WireGuard Server is listening on

Once this has been set up, you can verify that the connection is working from the Interface traffic:

If this does not generate traffic, you can take a look at the Status section on the WireGuard Status tab to see if the OpenWRT Public Key matches the WireGuard Server Public Key for the OpenWRT connection

If it does not, modify this on the Server and restart the WireGuard service or container

Last updated