Join 2 different subnets Wireguard VPN
I have setup a small Wireguard VPN network between 3 devices:
- Digital Ocean VPS (server, 10.222.0.1)
- Raspberry Pi on my home network (peer, 10.222.0.2)
- iPhone 11 (peer, 10.222.0.3)
From any device, I can ping the others. The VPN is functional. What I want now is for the iPhone (which is outside of my home network) to see an IP camera on my home network which has an IP address of 192.168.1.64. This is beyond my capabilities to do alone so I was looking for some assistance.
Ultimately, I need the iPhone which his entering the Pi to be connected/routed from the 10.222.0.x subnet to the 192.168.1.x subnet.
Would appreciate an suggestions, thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×