Skip to content

Commit 2c9bada

Browse files
authored
Add how to use SOCKS proxy (#48)
Add all_proxy env variable to user-manual.md
1 parent 9ca986e commit 2c9bada

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/user-manual.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,12 +319,16 @@ Advanced topics
319319

320320
gPodder includes a command-line interface. The command is called `gpo`. You can get a list of possible actions by running the command without any parameters.
321321

322-
### Using a HTTP proxy server
322+
### Using a HTTP or SOCKS proxy server
323323

324324
You can use a HTTP proxy server for downloading episodes and feeds. Newer versions of gPodder do not provide a way to do so in the GUI, but respect the environment variable **http\_proxy**. How to set the **http\_proxy** environment variable in different operating systems is described here:
325325

326326
- [Setting http\_proxy in Windows, Mac OS X and Linux/Unix](http://docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html#setting_http_proxy)
327327

328+
You can use a SOCKS proxy server by setting the enronment variable **all\_proxy**. If you want the DNS to be resolved through the proxy, use `socks5h://` instead. See [urllib3 docs](https://urllib3.readthedocs.io/en/stable/advanced-usage.html#socks-proxies) for more details.
329+
330+
export all_proxy=socks5://hostname:port
331+
328332
If you want to use a proxy for gPodder, but don't want to use a proxy for other applications, you can create a short shell script:
329333

330334
#!/bin/sh

0 commit comments

Comments
 (0)