I have a use case where I would like to share my VPN connection from my Windows 10 PC with an external device (Xbox), while at the same time only routing traffic to specific IP addresses through the VPN.
I'm using an ovpn config file from NordVPN, and sharing my OpenVPN TAP adapter with a mobile hotspot activated on my PC, to which my Xbox connects. This works just fine when routing all traffic through the VPN.
However when I edit my ovpn config file to route specific IP addresses as below:
Code: Select all
client
# Added section
route xxx.xxx.xxx.xxx 255.255.255.255
route-metric 50
route-nopull
# End added section
...
Is the type of setup I'm after possible? My suspicion is somewhere along the elaborate configuration I need to assign static IP addresses.
Apologies if this isn't the right place to be looking for answers for this type of problem.