[SOLVED]Wireguard with 1 peer works but not with 2 peers

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


Joined: 26 Jun 2008
Posts: 88

PostPosted: Mon Jan 23, 2023 2:26    Post subject: [SOLVED]Wireguard with 1 peer works but not with 2 peers Reply with quote
Wireguard has been working flawlessly on my dd-wrt router for months. Today, I needed to add a second peer. I setup the peer using the dd-wrt GUI. After doing this, my wireguard peers no longer see LAN/WAN clients through the tunnel. I did not make any config changes to my first peer.

Here is my dd-wrt log file and it is creating the routes:

Code:
Jan 22 17:30:13 DD-WRT user.info root: WireGuard number of non failed tunnels in fail set: 0
Jan 22 17:30:14 DD-WRT user.info root: Enable WireGuard interface oet1 on port 51820
Jan 22 17:30:14 DD-WRT user.info root: WireGuard 10.4.0.1/24 added to oet1
Jan 22 17:30:14 DD-WRT user.info root: WireGuard waited 3 seconds to set routes for oet1
Jan 22 17:30:14 DD-WRT user.info root: WireGuard route 10.4.0.2/24 added via oet1
Jan 22 17:30:14 DD-WRT user.info root: WireGuard route 10.4.0.3/24 added via oet1
Jan 22 17:30:15 DD-WRT user.info root: WireGuard Inbound Firewall deactivated on oet1
Jan 22 17:30:15 DD-WRT user.info root: WireGuard waited 1 seconds to set routes for oet1
Jan 22 17:30:15 DD-WRT user.info root: WireGuard route 10.4.0.2/24 added via oet1
Jan 22 17:30:15 DD-WRT user.info root: WireGuard route 10.4.0.3/24 added via oet1


Here is the peer log file

Code:
2023-01-22 16:58:31.725067: [TUN] [wireguard_config_oet1_peer0] Starting WireGuard/0.5.3 (Windows 10.0.19044; amd64)
2023-01-22 16:58:31.725067: [TUN] [wireguard_config_oet1_peer0] Watching network interfaces
2023-01-22 16:58:31.728340: [TUN] [wireguard_config_oet1_peer0] Resolving DNS names
2023-01-22 16:58:31.739058: [TUN] [wireguard_config_oet1_peer0] Creating network adapter
2023-01-22 16:58:31.837388: [TUN] [wireguard_config_oet1_peer0] Using existing driver 0.10
2023-01-22 16:58:31.845675: [TUN] [wireguard_config_oet1_peer0] Creating adapter
2023-01-22 16:58:32.264449: [TUN] [wireguard_config_oet1_peer0] Using WireGuardNT/0.10
2023-01-22 16:58:32.264449: [TUN] [wireguard_config_oet1_peer0] Enabling firewall rules
2023-01-22 16:58:32.197426: [TUN] [wireguard_config_oet1_peer0] Interface created
2023-01-22 16:58:32.267895: [TUN] [wireguard_config_oet1_peer0] Dropping privileges
2023-01-22 16:58:32.268515: [TUN] [wireguard_config_oet1_peer0] Setting interface configuration
2023-01-22 16:58:32.268515: [TUN] [wireguard_config_oet1_peer0] Peer 1 created
2023-01-22 16:58:32.270095: [TUN] [wireguard_config_oet1_peer0] Setting device v4 addresses
2023-01-22 16:58:32.270095: [TUN] [wireguard_config_oet1_peer0] Interface up
2023-01-22 16:58:32.277291: [TUN] [wireguard_config_oet1_peer0] Setting device v6 addresses
2023-01-22 16:58:32.366550: [TUN] [wireguard_config_oet1_peer0] Startup complete
2023-01-22 16:58:32.368027: [TUN] [wireguard_config_oet1_peer0] Sending handshake initiation to peer 1 (x.x.x.x:51820)
2023-01-22 16:58:32.396327: [TUN] [wireguard_config_oet1_peer0] Receiving handshake response from peer 1 (x.x.x.x:51820)
2023-01-22 16:58:32.396327: [TUN] [wireguard_config_oet1_peer0] Keypair 1 created for peer 1
2023-01-22 16:58:42.440867: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 16:58:52.515454: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 16:59:02.540182: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 16:59:13.199389: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 16:59:23.431219: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 16:59:33.940753: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 16:59:44.022006: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 16:59:56.068763: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 17:00:06.241692: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 17:00:17.192981: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 17:00:28.043528: [TUN] [wireguard_config_oet1_peer0] Receiving keepalive packet from peer 1 (x.x.x.x:51820)
2023-01-22 17:00:32.981243: [TUN] [wireguard_config_oet1_peer0] Sending handshake initiation to peer 1 (x.x.x.x:51820)
2023-01-22 17:00:33.010374: [TUN] [wireguard_config_oet1_peer0] Receiving handshake response from peer 1 (x.x.x.x:51820)
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12877
Location: Netherlands

PostPosted: Mon Jan 23, 2023 12:39    Post subject: Reply with quote
What router and which build?

Have a look at the WireGuard Server setup guide and compare your settings:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327397

Otherwise post a screenshot of your settings

_________________
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
apacheguy
DD-WRT User


Joined: 26 Jun 2008
Posts: 88

PostPosted: Mon Jan 23, 2023 16:30    Post subject: Reply with quote
R7000P 48567

Here's the config. Sensitive info removed.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12877
Location: Netherlands

PostPosted: Mon Jan 23, 2023 17:09    Post subject: Reply with quote
Try with allowed IP's /32
_________________
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
apacheguy
DD-WRT User


Joined: 26 Jun 2008
Posts: 88

PostPosted: Mon Jan 23, 2023 18:29    Post subject: Reply with quote
Hit the nail on the head. SOLVED.
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