ocserv: how to enable "proxy-url"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux