WireGuard client setup

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
smasher007
DD-WRT Novice


Joined: 18 Apr 2015
Posts: 10

PostPosted: Thu May 28, 2020 0:38    Post subject: WireGuard client setup Reply with quote
Hi Egc,

Excellent work on the new updates, I cant wait for the killswitch option and policy-based routing to appear in the UI.

Btw, I was following your DDWRT Client Setup guide v05 for SolidVPN but haven't had any luck with it so far.

I am running the build DD-WRT v3.0-r43266 std on the R7000
I have an SB6141 sitting in front of an R7000 router. All my devices connect to the R7000 via wifi.

After I save the tunnel settings I lose connectivity and I am unable to access the internet. I tried restarting the router and waited for 10 mins. And, only after I disable tunnel that is when I get internet connectivity back.

See the below snippet for the wg status:

public key: GBKLALALALALALALALALLALAL=
private key: (hidden)
listening port: 51820

peer: blalalalalalalalaababababbaaba/j5zvLTE8=
preshared key: (hidden)
endpoint: 139.xx.xx.xx:51820
allowed ips: 0.0.0.0/0
transfer: 0 B received, 888 B sent
persistent keepalive: every 25 seconds

Any thoughts on what's wrong?
P.S: Wireguard server on ddwrt seems to be working just fine and my mobile devices can connect to it.

egc wrote:
Ditch everything!
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Thu May 28, 2020 5:49    Post subject: Reply with quote
I have split your post, hijacking is something which is frowned upon.

See the guide how you should setup for allowed IP's:
0.0.0.0/1,128.0.0.0/1

Enable Route Allowed IP's

Enable NAT out via Tunnel

Just look at the pictures and set accordingly

After setting up Save/Apply wait a couple of minutes

Reboot if it is not working

If it is still not working post a picture of the settings page

N.B. For running a WG server and WG Client at the same tima on the same router see the Advanced Setup guide (You have to use different ports and use PBR for the Client)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum