diff --git a/Proxy-Configuration.md b/Proxy-Configuration.md new file mode 100644 index 0000000..702e26b --- /dev/null +++ b/Proxy-Configuration.md @@ -0,0 +1,36 @@ +Commands +-------- + +* **network.proxy.global:** Returns current global proxy. +* **network.proxy.http:** Returns current HTTP proxy. +* **network.proxy.global.set = "url":** Sets global proxy. +* **network.proxy.http.set = "url":** Sets HTTP proxy (overrides global). + +Protocol Support +---------------- + +### Global Proxy (network.proxy.global) ### + +* http://host:port +* socks5://user:pass@host:port +* socks5h://user:pass@host:port + +UDP (trackers/dht) and listening ports are disabled. + +### HTTP Proxy (network.proxy.http) ### + +Supports all native libcurl schemas. + +Examples +-------- + +``` +# Global authenticated SOCKS5h (Closes DHT & Listening Ports) +network.proxy.global.set = "socks5h://user:pass@127.0.0.1:1080" +``` + +``` +# Split routing (SOCKS5 global + HTTP/HTTPS tracker override) +network.proxy.global.set = "socks5://127.0.0.1:1080" +network.proxy.http.set = "http://example.com" +```