Back to Guides

SOCKS5 proxy

Follow these steps to configure Firefox and Qbittorrent for using our SOCKS5 proxies.

SOCKS5 proxies have multiple uses, including

  • improving the killswitch
  • making it more difficult to detect OpenVPN usage
  • reducing the amount of CAPTCHAs.
     

Firefox – newer versions

  1. In the Firefox menu, click on Edit (on some operating systems, click Tools).
  2. Click on Preferences (on some operating systems, click Options).
  3. Scroll down to Network Proxy.
  4. Click on Settings.
  5. Select Manual proxy configuration.
  6. Make sure HTTP/SSL and FTP proxy fields are empty.
  7. In the SOCKS Host: field, enter 10.8.0.1 with port 1080.
  8. Click on SOCKS v5 and enable Remote DNS or tick Proxy DNS when using SOCKS v5.
  9. Click on OK.

To disable, go to step #5 and change the setting to No Proxy.
 

Firefox – older versions

  1. In the Firefox menu, click on Edit.
  2. Click on Preferences.
  3. Click on Advanced.
  4. Click on Network Settings.
  5. Select Manual proxy configuration.
  6. Make sure HTTP/SSL and FTP proxy fields are empty.
  7. In the SOCKS Host: field, enter 10.8.0.1 with port 1080.
  8. Click on SOCKS v5 and enable Remote DNS or tick Proxy DNS when using SOCKS v5.
  9. Click on OK.

To disable, go to step #5 and change the setting to No Proxy.
 

Firefox on Android

  1. Enter about:config in the address bar and click on Send.
  2. In the search field, enter proxy.
  3. Scroll down to network.proxy.socks and enter 10.8.0.1.
  4. Scroll down to network.proxy.socks_port and enter 1080.
  5. Change the value for network.proxy.socks_remote_dns to True.
  6. Change the value for network.proxy.socks_version to 5.
  7. Change network.proxy.type to 1.
  8. Clear the field for network.proxy.ftp.
  9. Clear the field for network.proxy.http.
  10. Clear the field for network.proxy.ssl.
  11. Click on the back button to save the changes.

 To disable, go to step #7 and change the setting to 5.
 

Qbittorrent

  1. Click on Tools followed by Options (Alt-O).
  2. Click on Connection.
  3. Click on BitTorrent
  4. Enable (Check) Enable anonymous mode
  5. Disable (Uncheck) Enable DHT
  6. Disable (Uncheck) Enable PeX
  7. Disable (Uncheck) Enable Local peer discovery
  8. Under Proxy Server change Type to SOCKS5.
  9. Change Host: to 10.8.0.1.
  10. Change Port to 1080.
  11. Checkmark the box next to use proxy for peer connections.
  12. Checkmark the box next to Disable connections not supported by proxies.
  13. Disable (Uncheck) Use PNP / NAT - PMP

To disable, go to Step #8 and change the type to (none).


WireGuard and SOCKS5

Two proxies
All WireGuard servers have two SOCKS5 proxies listening on them:

  • The SOCKS5 proxy on 10.99.0.1 port 1080 is not reachable from other WireGuard servers.
  • The SOCKS5 proxy on 10.124.0.x port 1080 is reachable from other WireGuard servers. This IP is unique for each WireGuard server. For instance, 10.124.0.1 is us1-wireguard.mullvad.net and 10.124.0.2 is se1-wireguard.mullvad.net.

To configure the one you want to use, follow the directions listed for Firefox or Qbittorrent but use 10.99.0.1 instead of 10.8.0.1 as the SOCKS5 host.

Multihop with SOCKS5
You can also use the SOCKS5 proxies to multihop. To do so, you can configure your browser or other program to exit from a server that is different from the one you connected to.

For instance, if you are connected to se1-wireguard.mullvad.net and then want to exit via us1-wireguard.mullvad.net, you would configure your browser/program to use us1-wg.socks5.mullvad.net on port 1080 as your exit node.

You can try this in a terminal (in the following examples, we are connected to se1):

  • Without SOCKS5 proxy
    curl ifconfig.co
    193.138.219.61
  • With SOCKS5 proxy running locally
    curl ifconfig.co --socks5-host 10.99.0.1
    193.138.219.60
  • With SOCK5 proxy running on another server
    curl ifconfig.co --socks5-host nl1-wg.socks5.mullvad.net
    185.65.134.190