I have done a number of searches, but I can’t seem to figure out what I’m missing. Here is the setup:
Work Network (10.1.1.1/24)
- Work RPi running pivpn using wireguard
- Work Server running Debian Stable
- Work Desktop running Debian Stable
Home Network (192.168.10.1/24)
- Home RPi running PiHole as DNS server and DHCP server; also running pivpn
- Home Desktop running Fedora 38
- Home Laptop running Fedora 38
- Home Server running Fedora 38
Currently, I have the Home Desktop and Laptop connecting to the Work Network using client configs provided by the Work RPi pivpn software. I also have the Home RPi able to connect to the Work Network using a client config provided by the Work RPi pivpn software.
What I would like is for none of the computers on the home network or any of the computers on work network to need vpn config files. For example:
If Home Desktop (192.168.10.60) wants to bring up a web app hosted on the Work Server (10.1.1.252) on port 8000 that it would just connect through the wireguard connection that the Home RPi has established with the Work RPi. I am using just a Netgate consumer router on the home network as the device that is connected to the cable modem. It seems like this should be possible. If I’m requesting a 10.1.1.1/24 address that it would use the Home RPi connect to the Work RPi without the need to have a client vpn running on the Home Desktop.
How do I make that happen?