I have a problem with my vpn setup.
- Im using Cisco AnyConnect to connect to the vpn from my Windows host machine.
I have a linux VM on which I'm able to configure vpn split via routing table (half of the traffic go to NAT adapter(with vpn on host machine), the other half goes to bridge (direct internet access)
Now I would like to start using WSL (Windows Subsystem for Linux) instead of VM.
- I'm not able to configure vpn-split on Windows because I'm not able to change routing configuration when VPN is active (non-persisten routes are not added, persistent are ignored)
- I thought about connecting to vpn only from a VM (with openconnect) and configuring windows to push relevant traffic through this connection.
My questions:
- is there any obvious problem with that idea?
- how can I set this up? I know how to configure client routing on Windows. AFAIU my VM would need to expose a gateway to which I have to point traffic. What kind of software is typically used for that kind of thing? Do I have to set up a VPN server on VM (which would have to somehow push the traffic through the next VPN) or is there a simpler solution?
My knowledge is limited to the power user level so I probably lack some understanding from admin PoV. I don't need a full tutorial but for now I don't even know what to google as a next step.