Skip to content

Commit

Permalink
Initial Commit :)
Browse files Browse the repository at this point in the history
  • Loading branch information
romandev committed Apr 25, 2019
0 parents commit 6b830b9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions 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";
}

0 comments on commit 6b830b9

Please sign in to comment.