Skip to content

Commit

Permalink
Add how to use SOCKS proxy (#48)
Browse files Browse the repository at this point in the history
Add all_proxy env variable to user-manual.md
  • Loading branch information
masoudd authored Dec 10, 2023
1 parent 9ca986e commit 2c9bada
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/user-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,16 @@ Advanced topics

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.

### Using a HTTP proxy server
### Using a HTTP or SOCKS proxy server

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:

- [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)

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.

export all_proxy=socks5://hostname:port

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:

#!/bin/sh
Expand Down

0 comments on commit 2c9bada

Please sign in to comment.