Roaming Wireguard client - no handshake question

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
usaf-lt-g
DD-WRT User


Joined: 16 Mar 2012
Posts: 53

PostPosted: Thu Nov 27, 2025 5:48    Post subject: Roaming Wireguard client - no handshake question Reply with quote
@egc could use your expertise sir.

I have an R9000 I've completely wiped and re-configured which is now running r62778. I have 2 tunnels configured oet1 and oet2. oet1 is a site-to-site setup which is working just fine. oet2 however, which is literally for roaming devices (like my iphone) is not.

oet1 listens on 51810
oet2 listens on 51820

I originally tried just setting up another client peer on oet1 and that didn't work either, so I created a new server oet2.

I've done a TCPdump and I can see the traffic hitting the router, but it will not handshake.

oet2 Server config


oet2 Client Peer Config


Firewall Rules


iPhone WG Config:
Code:

INTERFACE
Name: home network
Public key: Mlzo9**************************
Addresses: 10.5.0.2/32
Listen port: Automatic
MTU: Automatic
DNS servers: 192.168.3.1

PEER
Public key: uCfRx**************************
Endpoint: *************:51820
Allowed IPs: 10.5.0.0/24, 192.168.3.0/24
Persistent keepalive: 25


wg show


tcpdump -ni $(get_wanface) udp port 51820
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16576
Location: Texas, USA

PostPosted: Thu Nov 27, 2025 5:55    Post subject: Reply with quote
Read the following thread in regards to XR700 (same hardware) on this build:

r62778 Wireguard server not working.

It's best to remain on the Linux 4.9 builds for now until things are sorted.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
usaf-lt-g
DD-WRT User


Joined: 16 Mar 2012
Posts: 53

PostPosted: Thu Nov 27, 2025 7:01    Post subject: Reply with quote
kernel-panic69 wrote:
Read the following thread in regards to XR700 (same hardware) on this build:

r62778 Wireguard server not working.

It's best to remain on the Linux 4.9 builds for now until things are sorted.


Crap - Since I literally, just wiped and rebuilt this thing all day yesterday.... does that mean I have to do it again? I'm afraid if I take a backup of my config, and then flash and revert to an older build, i'm gonna corrupt the thing...
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13877
Location: Netherlands

PostPosted: Fri Nov 28, 2025 15:16    Post subject: Reply with quote
Take the advice of @ kernel-panic and just set up according to the wireguard server setup guide and you should be good.
_________________
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
usaf-lt-g
DD-WRT User


Joined: 16 Mar 2012
Posts: 53

PostPosted: Fri Nov 28, 2025 15:40    Post subject: Reply with quote
egc wrote:
Take the advice of @ kernel-panic and just set up according to the wireguard server setup guide and you should be good.


You mean on the current build I’m on now or after I downgrade? I have it configured exactly as the guide recommends now. The only difference is I tried adding firewall rules when it didn’t work.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13877
Location: Netherlands

PostPosted: Fri Nov 28, 2025 16:21    Post subject: Reply with quote
I mean after downgrade.

Quote:
I have it configured exactly as the guide recommends now


The picture showed that the Firewall is enabled that should not be the case for a WireGuard server setup

_________________
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