From 479821ab77f529bcb265d8de2426a72b3a76a683 Mon Sep 17 00:00:00 2001 From: Carin Gilles <gilles.carin@univ-lille.fr> Date: Thu, 20 Aug 2020 07:45:10 +0200 Subject: [PATCH] =?UTF-8?q?socks5=20sp=C3=A9cifique=20pac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- socks5.priv.pac | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 socks5.priv.pac diff --git a/socks5.priv.pac b/socks5.priv.pac new file mode 100644 index 0000000..945b65b --- /dev/null +++ b/socks5.priv.pac @@ -0,0 +1,8 @@ +function FindProxyForURL(url, host){ + if (dnsDomainIs(host,".priv.lifl.fr")) + return "SOCKS5 127.0.0.1:8080"; + else if (isInNet(host, "192.168.10.0", "255.255.255.0")) + return "SOCKS5 127.0.0.1:8080"; + else + return "DIRECT"; +} -- GitLab