You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
I am trying to use openconnect to connect a vpn server, through a socks5 proxy that I build by ssh tunneling. Then when I try to connect, it cannot connect to the https server. For example,
openconnect -v --proxy=localhost:1337 www.google.com
POST https://www.google.com/
Attempting to connect to server [::1]:1337
Connected to [::1]:1337
Requesting HTTP proxy connection to www.google.com:443
Error fetching HTTPS response
Failed to open HTTPS connection to www.google.com
Failed to obtain WebVPN cookie
I have tested the socks5 proxy in other applications. My guess is that openconnect treat the proxy as a http proxy rather than a socks. But I don't know how to set up the correct configuration.
I am trying to use openconnect to connect a vpn server, through a socks5 proxy that I build by ssh tunneling. Then when I try to connect, it cannot connect to the https server. For example,
openconnect -v --proxy=localhost:1337 www.google.com
POST https://www.google.com/
Attempting to connect to server [::1]:1337
Connected to [::1]:1337
Requesting HTTP proxy connection to www.google.com:443
Error fetching HTTPS response
Failed to open HTTPS connection to www.google.com
Failed to obtain WebVPN cookie
I have tested the socks5 proxy in other applications. My guess is that openconnect treat the proxy as a http proxy rather than a socks. But I don't know how to set up the correct configuration.
The OS is Windows 10.