Some people run a SOCKS5 proxy locally that proxies their internet traffic through a different location.
To access the proxy via your web browser you can either modify your system-wide proxy settings or use a Google Chrome browser extension, or in the case of Firefox manually configure the proxy settings.
- Open System Preferences > Network.
- Select the active network interface (e.g., Wi-Fi or Ethernet) and click Advanced.
- Go to the Proxies tab.
- Check SOCKS Proxy and enter
localhost
as the SOCKS Proxy Server and1080
as the port (or whatever the port number is). - Click OK and then Apply.
Alternatively, use the terminal:
sudo networksetup -setsocksfirewallproxy "Wi-Fi" 127.0.0.1 1080
sudo networksetup -setsocksfirewallproxystate "Wi-Fi" off
- Install the extension [Proxy SwitchyOmega][13] from the Chrome Web Store.
- After installation, click on the extension icon and choose New Profile.
- Set the proxy Protocol to
SOCKS5
. - Enter
localhost
as the Server and1080
as the Port. - Click on Apply changes in the side bar.
- Visit [ipinfo.io][14] and check your normal IP is showing.
- Activate the new proxy profile via the Chrome extension.
- Refresh the web page and check your IP is now changed.
- Open Settings.
- Search for proxy.
- Select Manual proxy configuration.
- In SOCKS Host type
localhost
and1080
for the Port. - Finally, select SOCKS v5 and click OK.
In order to access some systems you might find the web browser prompts you to provide a certificate. You'll need to import the certificate into your web browser.
Tip
The recommendation is to use Firefox rather than Chrome (even if the latter is your default browser). The reason is that Chrome uses the OS's certificate store and so you'd need to modify that vs Firefox allowing you to import your own certificates directly into the browser.