ocserv: how to enable "proxy-url"?
Yick Xie
yick.xie at gmail.com
Fri Jun 9 10:27:55 PDT 2017
Greetings,
My case is to deploy a Squid server as the back-end proxy for
Anyconnect. As I tested, this option does not work. And nothing about
it was logged during tests on iOS&Windows. The PAC file is quite
simple and certainly Squid serves well.
ocserv commit 66f8b57af95b111da9b46a98ff24ba5a782d2d9b .
function FindProxyForURL(url, host) {
if (shExpMatch(url,"*.google.com/*")) {
return "PROXY IP-ADDRESS:3128;";
}
if (shExpMatch(url,"*.googleusercontent.com/*")) {
return "PROXY IP-ADDRESS:3128;";
}
return "DIRECT";
}
Regards,
Yick
More information about the openconnect-devel
mailing list