From 6b830b9fdf7bb37a181b0e6e877b61089dc28c2b Mon Sep 17 00:00:00 2001 From: Jinho Bang Date: Thu, 25 Apr 2019 20:59:04 +0900 Subject: [PATCH] Initial Commit :) --- proxy.pac | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 proxy.pac diff --git a/proxy.pac b/proxy.pac new file mode 100644 index 0000000..701a8a6 --- /dev/null +++ b/proxy.pac @@ -0,0 +1,19 @@ +function FindProxyForURL(url, host) { + if (shExpMatch(host, "*.sec.samsung.net")) { + return "SOCKS 127.0.0.1:8080"; + } + + if (shExpMatch(host, "165.213.202.130")) { // Gerrit + return "SOCKS 127.0.0.1:8080"; + } + + if (isInNet(host, "10.252.0.0", "255.255.0.0")) { // Local1 + return "SOCKS 127.0.0.1:8080"; + } + + if (isInNet(host, "10.253.0.0", "255.255.0.0")) { // Local2 + return "SOCKS 127.0.0.1:8080"; + } + + return "DIRECT"; +}