I’m trying to make this work on my home network first to see if it’s possible. I need to run a diagnostic program on Windows 10 remotely and connect to a device on my network. Currently, I have a WireGuard server running on a Raspberry Pi and it all works as I believe it’s intended. I can connect to my home network remotely, SSH into the Pi, etc.
with a wireless card or hotspot. To do what I want though, I need to be able to select a network adapter in the diagnostic program that has an ip of 192.168.0.x either static or assigned from DHCP. But since the home network is 192.168.0.x because the device I need to connect to remotely is and has to be 192.168.0.17 it doesn’t seem like it will work. I can change the VPN’s subnet to match my home network but everything stops working.
I guess I need for the devices on either end to not know that they aren’t really on the same subnet.
Is this possible? Could I do it with a 2nd Pi on the other end? Is there a software I can run on the remote PC to fake this? Or would this be easier with OpenVPN?
Please help, thanks