I want to establish 2 vpn connections by using openvpn and openconnect on Windows 10. The openvpn connection is used to keep a tunnel with my remote PC through my VPS(Virtual private server) which acts as a virtual switch. The openconnect connection is used to circumvent all my internet traffic. Everything is ok when they are used separately. But when I first run the openvpn to establish a tunnel successfully, then run the openconnect. the openconnect always fails with this error in log:
2017-12-09 15:58:10 | 3e54 | Failed to open \.\Global{F8041029-39C6-456D-9C4B-565CB72F8167}.tap
2017-12-09 15:58:10 | 1e40 | Disconnected
It seems that openconnect want to use the same TAP device that already used by openvpn. so I installed more TAP devices by taking advice from this post https://stackoverflow.com/questions/21210071/how-to-create-a-2nd-tap-adapter-for-openvpn-client-on-win7/21210158 . But openconnect seems always to use the same TAP device of openvpn although there are some unused TAP devices there. Does anyone have some clues to solve this?
the version of openvpn is "Openvpn 2.3.11" and "Openvpn GUI v10"
the version of openconnect is "openconnect v7.08" and "openconnect GUI v1.5.1"