In this tutorial, we’ll show you how to quickly set up a SOCKS5 proxy in the popular web browser Google Chrome. We’ll use a third-party extension named “Proxy SwitchyOmega.”
How to set up SOCKS5 Proxy on Chrome with “Proxy SwitchyOmega”
You’ll soon be able to hide your IP easily by configuring a proxy on Chrome. Head up to the Proxy SwitchyOmega download page to download the extension. Then, follow our guide:
Step 1: Download and add Proxy SwitchyOmega extension to Chrome
- Click on “Add to Chrome”
- Review all the permissions granted to Proxy SwitchyOmega. Then, click on “Add extension” to confirm
Step 1b (optional): Pin the extension directly to your toolbar for quick access
- Click on the “Extension” icon
- Next, click on the pin icon to pin the extension to the toolbar for quick access
Step 2: Open Proxy SwitchyOmega dashboard
After a fresh install, the extension will automatically redirect you to the dashboard.
Step 3: Head up to the “Proxies” menu to configure your proxy
Step 4: Connect to your proxy
How to test your proxy connection
We just covered how to use a SOCKS5 proxy in Chrome, but how do you ensure your residential proxy is enabled?
Luckily, It’s a simple verification. Head up to https://browserleaks.com/ip with and without the proxy activated. You will see that your IP is getting updated.
I can confirm that my new IP differs from when the proxy is disabled and that I’m well located in Italy as configured in my proxy.
You can also run a DNS Leak test to check if your DNS servers are safe.
What is a WebRTC Leak, and how to fix it
WebRTC is a free, open-source technology. It enables real-time communication and data sharing. It's short for Web Real-Time Communication. It allows users to make audio and video calls. They can also share files and screens without additional software or plugins.
This technology has dramatically improved how we communicate and collaborate online. Yet, it has flaws. One of the significant concerns with WebRTC is the issue of WebRTC leaks.
It can expose a user's real IP address even when using a VPN or proxy. To fix this on Chrome, Google developed a simple extension. It gives you access to the WebRTC configuration.
Follow the instructions to install and configure the extension:
Step 1: Download and add WebRTC Network Limiter to Chrome
- Click on “Add to Chrome.” in the extension page.
- Review all the permissions granted to WebRTC Network Limiter. Then, click on “Add extension” to confirm.
Step 2: Heads up to the WebRTC Network Limiter option
Open the extension menu and click on “Options” to access the extension configuration menu
Step 3: Configure the extension to fix the WebRTC leak
Step 4: Check your proxy connection one more time
Head back to https://browserleaks.com/ip to check the WebRTC Leak.
As you can see on the screenshot, you have now fixed the WebRTC Leak and can now browse the web anonymously.
Advanced Only
Connect to your SOCKS5 proxy using the command line.
If you're familiar with Terminal/PowerShell, you can launch Google Chrome with a SOCKS5 proxy using this command line:
For macOS:
For Windows 10/11:
Depending on your proxy provider, you have to update:
- The hostname, in this example, we use : portal.anyip.io
- The port. For our test, we used: 2000
Once your command line is ready, ensure that Chrome is closed. Then press “Enter” to launch a new instance of Chrome with the proxy enabled.
Fix WebRTC and DNS Leak using the command line
One major issue when using “—proxy-server” is that this argument only applies to URL load. Google Chrome has many components that can bypass the proxy server. Hence, your connection will not be fully anonymous.
"DNS prefetcher” is one of those components. It will use your local DNS to improve browsing performance. It is causing a DNS Leak while using a SOCKS5 proxy.
To fix this behavior, you could turn off “DNS prefetcher,” which would drive Chrome to send raw DNS requests.
The best solution to solve this issue is to add the following argument in the command line :
What “—host-resolver-rules” is preventing Chrome to send DNS requests over the internet. Instead, all requests, except for your proxy, are mapped to an invalid address (0.0.0.0).
Again, depending on your proxy, you need to update the hostname. Here, we use “portal.anyip.io.”
Troubleshooting Common Issues
You may encounter a few common issues, such as :
My proxy is not connecting?
Suppose you're having problems connecting to your proxy. Make sure you have the correct hostname/IP and port. And take some time to verify your login details (password and username).
I’m getting the “ERR_SOCKS _CONNECTION_FAILED” error.
As mentioned, Google Chrome is incompatible with SOCKS5 Proxy. SOCKS5 Proxy requires username/password authentication. Before using a proxy provider, ensure it can handle IP whitelisting authentication.
Connection refused or server not responding.
If your credentials and proxy information are correct, contact your proxy provider. Check if their services are still working correctly.
How to quickly get SOCKS5 proxy using anyIP.io.
Gain quick and hassle-free access to SOCKS5 proxies through anyIP.io's expansive network. You can count on their 24/7 support team for uninterrupted and seamless service.
What is a SOCKS5 proxy, and how are they working with Chrome?
A SOCKS5 proxy is a secure internet protocol. It routes network packets between a client and a server through a proxy server. It stands for Socket Secure v5. Using a SOCKS5 proxy on Google Chrome helps bypass network restrictions. It also lets you access geo-restricted content. It also hides your IP address and improves internet security.
What about Mozilla Firefox?
If you are more of a Firefox user, don't worry. You can follow this guide to help you configure the proxy in less than 10 minutes!