Socks5 Proxy Support
-
I'm kind of surprised this topic has been quiet for so long. SOCKS5 support would be greatly appreciated for those of us who would like to surf the web anonymously. I am paying for a VPN service that offers SOCKS5 but the Vivaldi browser does not support this protocol. Please consider adding SOCKS5 support. HTTP/HTTPS proxy support does work but there are limitations and security issues that are addressed when using SOCKS5, which is much more robust and faster. Thanks!
-
See https://www.chromium.org/developers/design-documents/network-stack/socks-proxy, it should work in Vivaldi too. There is no UI for this, though, but vivaldi://settings/network/ gives access to the OS config.
-
Thanks for getting back to me.
I have tried two proxy extensions: FoxyProxy and SwitchyOmega. Both extensions claim that the browser does not support SOCKS5. I have contacted the Devs/Support for both plugins and they confirmed it's not an issue on their end, and they're saying the browser does not support it. The strange thing is, HTTP and HTTPS proxy connections work fine.
Perhaps it's because you do not implement SOCKS5 in the browser itself, but rather depend on the OS to do it for you. The problem with that is you can't switch proxies without reconfiguring the proxy each time. I use Vivaldi on all 3 major OS's: Windows 10 64 bit, MacOS, and Debian Linux.
In today's world, you need to switch proxies quite a bit during your daily browsing activities, especially if you're a cord cutter. Streaming services such as Hulu blacklist VPN's and proxies, and they force you to connect directly. There are other sites as well that require direct connections and blacklist VPN's/proxies. I use multiple proxy providers, depending on my destination, and the Windows OS proxy setting does not allow multiple settings based on different criteria.
Given that, you have to use an extension to manage the proxy settings given the domain you're connecting to. As I mentioned above, it's just as simple as the extensions out there expect the browser to handle the proxy connection as opposed to handing off to the OS, as Vivaldi does. Which brings me back to the point that the Vivaldi browser needs to implement this itself. SOCKS5 works fine out of the box in the browser that I'm using now which is great for me. If Vivaldi ever addressed this issue, I'd be very interested in switching back.
-
Hmm im a new Vivaldi User (stable Version). Im coming from Firefox. And i also use alot of Socks5 Proxys.
And this works great in Vivaldi with SwitchyOmega (also Foxyproxy but the development stopped for Chrome Browsers and the existing version is very old). Strange that this wont work for you? -
What OS are you using?
I'm on Windows 10 64-bit and I get this error when I try to visit any site:
ERR_SOCKS_CONNECTION_FAILEDI use the Backup/Restore options in SwitchyOmega. If I import those same settings into Firefox, it works fine. Again - both are running Windows 10 64-bit.
-
Yes im also on Win10 64bit. I connected to my Socks5 Proxys with plink.exe (over ssh) so i have them on 127.0.0.1 with different ports.
This added to SwitchyOmega works 100%.Edit:
Tested with another Socks5 in my Network (3proxy over stunnel on a Debian Machine), this works also. -
That is a major difference in our setups then. I imagine you can skip the SOCKS5 authentication in the browser since you have an SSH tunnel connection open. As you can see, the authentication fails in my example. At any rate, you're working around limitations in the environment. If that works for you, that's great. I feel the browser should be independent in this respect.
I don't know if Linux or MacOS work with respect to SOCKS5. It may work. For me, if it fails in one scenario, it fails on all. I use my browser for testing purposes at work as well as personal use cases and don't want to maintain different browsers, different configs, nor different hacks . I find one setup that works and apply it to everything I do. The more hacks and steps I have leave more layers of diagnosis/troubleshooting/triage when it fails, and I have to mimic the more common real world scenarios in my testing.
-
OK, you use Socks5 with Authentication. Yes thats different from my Scenario.
-
@UncaughtException does the following trick work?
It's a year old so I don't know, if it's still true today as I don't use it myself...Chrome, Internet Explorer, Edge only support SOCKS4.
Firefox supports 4, 4a and 5, but not with auth (although I understand there was a patch submitted).
If you want to use a web browser via SOCKS with auth, you could use something like Proxifier to divert the browser connections, or the AutoText SOCKS client (which supports GSSAPI authentication).
Source: https://superuser.com/questions/1315538/use-socks5-with-auth-in-chrome
-
I was not familiar with Proxifier but I did some brief research. Here's two problems with Proxifier:
- You must pay for it after the 30 day free trial
- I did not see a Linux offering mentioned (Windows and MacOS are supported)
At this point though, I am going to stand firm that Vivaldi needs to natively support SOCKS5. It's obviously your call if that's going to happen or not, but as I mentioned above, I'm looking for minimal hacks to get it working (ideally none) as I use my browser for work and personal purposes and it's much easier for me to install it and use it on multiple platforms. You could really get the upper hand on other Chromium based browsers by doing this.
-
Being able to access SOCKS5 just within my browser (ie not needing to mess with the OS-level configuration) would be great. Right now I have to use firefox for this.
-
@LonM For me, https://github.com/henices/Chrome-proxy-helper works surprisingly well. But maybe I miss a use case.
-
@jumpsq Thanks for that link. I'll check it out.
-
So, how can I use my SOCKS5 proxy login credentials?
--proxy-server="socks5://myproxy:8080" --host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE myproxy"
-
@jumpsq Sadly it don't work.