Let me first explain the setup:
At home I have a nas that runs a wireguard VPN server in a docker container. (I use WG for all sorts of clients to access the local network at home).
I am currently trying to set up a remote backup for my data using a raspberry pi in a different local network somewhere else. (The raspberry pi will host a CIFS share and I also want to be able to access the web-interface of the raspberry pi.)
I determined that one possibility should be to connect the raspberry pi to the WG VPN and then set up my local network so that the nas can automatically back up to the raspberry pi.
As I understand it WG creates its own subnet. So my goal is to somehow be able to connect to device in this wg subnet from my local network.
But everything that I found on the internet to this topic didn't really help me, any idea how to achieve this or is there a simple solution to my problem?