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

Using Proxy #5

Open
drtiwarir opened this issue Aug 16, 2023 · 7 comments
Open

Using Proxy #5

drtiwarir opened this issue Aug 16, 2023 · 7 comments
Labels
question Further information is requested

Comments

@drtiwarir
Copy link

I just saw this project, was looking for something like this.
I use a socks proxy on my phone (made using proxidize-android
Was wondering if I use sniproxy and forward selected domians to socks, it will be working very similar to commercially available DNS proxies.
How can I add username & password for sniproxy to forward requests to socks ? because socks proxy on phone needs username and password to allow connection.
Please advice.
Thanks

@ameshkov ameshkov added the question Further information is requested label Aug 16, 2023
@ameshkov
Copy link
Owner

Was wondering if I use sniproxy and forward selected domians to socks, it will be working very similar to commercially available DNS proxies.

It will be pretty similar but not the same of course.

How can I add username & password for sniproxy to forward requests to socks ? because socks proxy on phone needs username and password to allow connection.

You'll need to patch sniproxy to achieve this.

@drtiwarir
Copy link
Author

Thanks Ameshkov
I tried to patch sniproxy for adding username and password option, but not working, can you please help.
Thanks

@ameshkov
Copy link
Owner

Please open a pull request, I'll try to help

@ameshkov
Copy link
Owner

ameshkov commented Aug 21, 2023

Quick question, have you tried proto://user:password@host:password URL?

@drtiwarir
Copy link
Author

Nope, I tried a few things but did not work, can you please add ?
Thanking you

@ameshkov
Copy link
Owner

I checked the code and this approach with adding authentication to a proxy URL should work

@drtiwarir
Copy link
Author

I wil try
Thanks

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

No branches or pull requests

2 participants