Wireguard for browsing through the local LANs of 3 locations

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


Joined: 13 May 2012
Posts: 6
Location: Buenos Aires, Argentina

PostPosted: Fri Jun 02, 2023 17:58    Post subject: Wireguard for browsing through the local LANs of 3 locations Reply with quote
Hello everyone

In each of 3 different locations I have Linksys E900 routers (3.0 Build 52242 Mega).
I want to be able to enter the local networks of the 3 locations.
Until now, I've been using OpenVPN sharing the same range of IPS 192.168.2.x in all the 3 routers (I only took care that IP's didn't overlap). It worked, but often one or both clients got disconnected from the server for several hours.

That's why now I wanted to try Wireguard.
In one location I configured a router with Wireguard as a server.
In the other two locations, the other 2 routers with Wireguard as clients.

Server:
DD-WRT router IP: 192.168.4.2
Local Lan 192.168.4.x Wireguard IP: 192.168.7.1
Client 1:
DD-WRT router IP: 192.168.3.254
Local Lan 192.168.3.x Wireguard IP: 192.168.7.3
Client 2:
DD-WRT router IP: 192.168.2.254
Local Lan 192.168.2.x Wireguard IP: 192.168.7.2

I've read the guides but I don't understand them completely, and I find them more oriented to connections with commercial servers. I can't find a simple guide for what I want to do: just navigate the internal networks of routers that are in other cities (just like home office, for example).
I configured the server and 1 client, and I see the handshake, but when I try to enter, for example (from a PC in the location of the server) into 192.168.3.254 (the internal IP of the client 1 router), nothing happens.

Here I attached 2 screenshots: one with the server configuration, and another with the client 1 configuration. I would appreciate any advice.

Thanks!
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Fri Jun 02, 2023 18:07    Post subject: Reply with quote
Already replied in your other thread. Please upgrade to current release first.

https://wiki.dd-wrt.com/wiki/index.php/Linksys_E900

dd-wrt.v24-52869_NEWD-2_K3.x_mega-e900.bin

OR

dd-wrt.v24-52869_NEWD-2_K3.x_mega-nv64k.bin

_________________
"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...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
pinazo
DD-WRT Novice


Joined: 13 May 2012
Posts: 6
Location: Buenos Aires, Argentina

PostPosted: Fri Jun 02, 2023 18:50    Post subject: Reply with quote
kernel-panic69 wrote:
Already replied in your other thread. Please upgrade to current release first.

https://wiki.dd-wrt.com/wiki/index.php/Linksys_E900

dd-wrt.v24-52869_NEWD-2_K3.x_mega-e900.bin

OR

dd-wrt.v24-52869_NEWD-2_K3.x_mega-nv64k.bin


Thanks for your reply! (and for your reply in the spanish thread)
I've just upgraded both server and client 1 routers to version 52869_NEWD-2_K3.x_mega
The situation now is: I can browse the internal LAN of my server (from Client 1), but I cannot browse the local LAN of client 1 from the server side. Any advise?
pinazo
DD-WRT Novice


Joined: 13 May 2012
Posts: 6
Location: Buenos Aires, Argentina

PostPosted: Wed Jun 07, 2023 21:51    Post subject: Reply with quote
I've carefully read and double-checked the Server guide and the Advanced setup guide, and made some changes in my routers, until it worked!
I attach the settings of the server and one of the clients.

Thanks
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