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

whitelist for proxy #90

Closed
c625473164 opened this issue Jul 30, 2019 · 2 comments
Closed

whitelist for proxy #90

c625473164 opened this issue Jul 30, 2019 · 2 comments

Comments

@c625473164
Copy link

How shold I config if I only want to redirect http reqeusts on a single ip:port such as localhost:8080

@OptiMysticall
Copy link

You would remove every proxy in the ProxyyList section and add
Proxytype(HTTP,HTTPS,SOCKS4,SOCKS5) ip for localhost 8080
HTTP 127.0.0.1 8080
HTTP 127.0.0.1 8080
HTTP 127.0.0.1 8080
THen set the uncomment the line for random_chain then set chain_len to 1.

This will help if there is a failure, it will essentially retry.
Then these values should be something reasonable like:
tcp_read_time_out 20000
tcp_connect_time_out 15000

This assumes you're running something on localhost port 8080 that will forward connections out.. like a Tor proxy. However Tor uses socks.. https://www.linuxuprising.com/2018/10/how-to-install-and-use-tor-as-proxy-in.html

Copy link

github-actions bot commented May 2, 2024

Stale issue message

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

No branches or pull requests

2 participants