Seeking advise on my (working) wireguard setup

Started by securid, November 11, 2023, 10:18:10 AM

Previous topic - Next topic
Hey all!

I have wireguard setup on opnsense for my laptops and phone to connect to and use local services and internet. This is working fine. Lets call wireguard setup 1; opnsense is wireguard server, the peers are its clients.

In addition, I also have a second wireguard setup, on a remote server to which my opnsense is a peer. A locally running server uses it to push encrypted backups to the remote server over the wireguard tunnel. Lets call this wireguard setup 2.

I got curious whether I could reach client A from client B over wireguard setup 1. This seemed to work. It seems that these tunnels are bidirectional. Without additional setup I doubt that traffic can go beyond the peer itself, but that is beyond the scope of my question.

So what is my question then ...

Well, I wonder whether I can change the Wireguard setup 2 to setup 1. So the remote server becomes a peer in setup 1.

Figured I wanted to ask to be sure because I risk locking myself out and I don't want to drive 240 km's to fix a remote server haha!

Would it be possible to test this without bringing down the already working setup 2?

Thanks in advance!