Last active
March 28, 2020 13:21
-
-
Save Paris/2a8cd81c898f09bfe247713ee3932345 to your computer and use it in GitHub Desktop.
Proxy configuration file for local Tor connections
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 (host.endsWith('.onion') || host === 'check.torproject.org') { | |
return 'SOCKS5 192.168.1.2:9050'; | |
} | |
return 'DIRECT'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment