Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http to socks5 proxy ansible role for homebase #90

Open
willk opened this issue Jan 5, 2024 · 0 comments
Open

http to socks5 proxy ansible role for homebase #90

willk opened this issue Jan 5, 2024 · 0 comments

Comments

@willk
Copy link
Contributor

willk commented Jan 5, 2024

Privproxy is one way to do this, but newer versions of tinyproxy also can do this. In PP01, we have used privproxy as documented below.

privproxy allows us to have a socks5 upstream to an http proxy, which is convenient for tools that do not work will with proxychains or have built in support for socks proxies.

Privroxy is packaged, however, it installs as a broken package. It is broken because the daemon is started in the configuration stage of packaging, where it tries to listen on ::1 in addition to localhost. Fixing this in the configuration file allows it to start and an "apt-get -f install" will restore the packaging system to working.

By putting a line like below at the end of the config file, we have an http proxy going to a socks upstream.
forward-socks4 / 192.168.2.11:8003 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant