sniproxy icon indicating copy to clipboard operation
sniproxy copied to clipboard

Using Proxy

Open drtiwarir opened this issue 2 years ago • 7 comments

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

drtiwarir avatar Aug 16 '23 05:08 drtiwarir

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.

ameshkov avatar Aug 16 '23 10:08 ameshkov

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

drtiwarir avatar Aug 18 '23 05:08 drtiwarir

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

ameshkov avatar Aug 20 '23 21:08 ameshkov

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

ameshkov avatar Aug 21 '23 06:08 ameshkov

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

drtiwarir avatar Aug 21 '23 09:08 drtiwarir

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

ameshkov avatar Aug 21 '23 10:08 ameshkov

I wil try Thanks

drtiwarir avatar Aug 21 '23 10:08 drtiwarir