I have a VPN server running on my home network that I can connect to fine. The local IP subnet is set to 10.0.0.1 with the subnet mask set to 255.255.255.0. This works fine.
When I'm on a friends network, they have the IP subnet set to the same value as mine. In this case I can connect to my VPN fine (doing an IP check online shows my home IP), but I'm unable to connect to any local device.
If the friend changes their router settings to use 192.168.1.1 with a subnet mask of 255.255.255.0, everything works perfectly (and I'm able to connect to my local devices on my home network).
It almost seems like when the IP subnet is the same, there is a conflict where it will prioritize sending it to the local network instead of sending it through to my VPN connection. I have verified that all of my traffic is set to send over the VPN connection.
Is there a way on macOS to fix that so that no matter the local IP DNS subnet of the network I'm connected to I'm able to access my local devices on the VPN network?