Unable to use socks5 proxy built by ssh tunneling
David Woodhouse
dwmw2 at infradead.org
Sat Jul 22 08:33:51 PDT 2017
On Sat, 2017-07-22 at 10:53 -0400, Chang Liu wrote:
> 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.
--proxy socks5://localhost:1337
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4938 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20170722/0ae1dc2c/attachment-0001.bin>
More information about the openconnect-devel
mailing list