From 84e4af3e4afc2184fd6e5fd2f9e8b891361b7b24 Mon Sep 17 00:00:00 2001 From: Jari Sundell Date: Tue, 30 Jun 2026 16:47:48 +0900 Subject: [PATCH] Created Proxy Configuration (markdown) --- Proxy-Configuration.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Proxy-Configuration.md 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" +```