Last active
April 25, 2020 02:51
-
-
Save mitsutaka/1ab53072151b5529da2e1a1ec7d49fc4 to your computer and use it in GitHub Desktop.
home socks5
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 (isPlainHostName(host) || | |
shExpMatch(host, "*.tokyo.local") || | |
isInNet(dnsResolve(host), "10.0.0.0", "255.255.255.0")) | |
return "SOCKS 10.1.0.202:8008"; | |
if (shExpMatch(host, "*.amazon.co.jp") || | |
shExpMatch(host, "*.amazonvideo.com")) | |
return "SOCKS 10.1.0.202:8008"; | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment