-
-
Save JasonRammoray/a3fd301dc26fc7d48ef69bf1e878cdab to your computer and use it in GitHub Desktop.
slack-sock-pac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
if (shExpMatch(host, "*.slack-msgs.com")) { | |
// Use SOCK proxy, | |
// or fall back to a DIRECT traffic. | |
// ssh -D 8000 [user]@[server] | |
return "SOCKS 83.174.203.210:1080; DIRECT"; | |
} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment