How to setup Wireguard on DD-WRT with TorGuard

Wireguard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec while avoiding the massive headache. It intends to be considerably more performant than OpenVPN, especially when used through routers with limited CPU power.


Navigate to the home page of your router - By default


Go to Setup > Tunnels > and click the Add Tunnel button. Choose Enable and select WireGuard from the dropdown menu - now click save. STEP 3:

Click the Generate Key button copy the key and head over to the config generator on the TorGuard website and follow the steps below:

a) Select Wireguard from the VPN Tunnel type: menu.
b) Select your location or enter your Dedicated IP or Port Forward IP.
c) Enter your VPN username.
d) Enter your VPN Password.
e) Add the keys generated in dd-wrt to the Local Public-Key and Local Private-Key fields.
f) Generate your config - it should look similar to below:

DDWRT Step 3


Now use the generated config to fill in the following fields.

a) Enable "NAT via tunnel"
b) Enable "Endpoint"
c) Enter the Endpoint IP from the config you generated as well as the port 1443
d) Set allowed IPs to:,
e) Enable "Route allowed IP's via tunnel"
f) Enter keepalive: 25
g) Add your public key from the generated config.
h) Under Add Peer copy the IP from the "Address" field in the config you generated into the IP Address field.
i) Enter the subnet mask as and hit save.

It should look similar to the below image:

DDWRT Step 4

j) Now hit Apply Settings.


Verify your VPN connection by connecting one of your devices to the DD-WRT router Wifi and follow below:

a) Browse to
b) Make sure the IP Address line shows a TorGuard IP and states "Protected".

DD-WRT Step 5

Was this answer helpful? 0 Users Found This Useful (0 Votes)