How to route HyperV VMs traffic through host VPN
- by Random
I'm using Windows 8.1 Pro with HyperV. I have several VMs for development, all of them connected with host via Internal adapter using network addresses:
192.168.10.0/24
Where:
192.168.10.1
is my host's Hyper-V internal NIC address.
When I'm not in my office I use 3G usb dongle an dialup VPN connection. I would like to route traffic from all existing and future VMs through the VPN. In best scenario traffic would be routed only partially to the local company network addresses
10.1.1.0/24
I don't want to use sharing because I'm switching between WiFi, USB 3G dongle and VPN. Moving to other virtualization is also not an option for me.