メインコンテンツへスキップする

How to set up outbound proxy

info

This article is about AdGuard for Android, a multifunctional ad blocker that protects your device at the system level. To see how it works, download the AdGuard app

Below is a list of the most well-known applications that can be configured to work as proxies in AdGuard.

note

If your app is not listed below, please check on its proxy configurations in the settings or contact its support team.

AdGuard allows you to route your device's traffic through a proxy server. To access proxy settings, open Settings and then proceed to FilteringNetworkProxy.

Proxy configuration examples

In this article we give examples of how to set up some of the most popular proxies to work with AdGuard.

How to use AdGuard with Tor

  1. Open AdGuard and go to SettingsFilteringNetworkProxy. Download “Orbot: Proxy with Tor” directly from Google Play or by tapping Integrate with Tor and then Install.

  2. Open Orbot and press the Start button on the application's main screen.

  3. Go back to the Proxy screen of AdGuard.

  4. Tap the Integrate with Tor button.

  5. All the required fields will be pre-filled:

    FieldValue
    Proxy typeSOCKS4 or SOCKS5
    Proxy host127.0.0.1
    Proxy port9050

    Or you can tap Proxy serverAdd proxy server, enter these values manually, and set Orbot as the default proxy.

  6. Enable the main Proxy switch and AdGuard protection to route your device's traffic through the proxy.

    Now AdGuard will route all traffic through Orbot. If you disable Orbot, Internet connection will be unavailable until you disable the outbound proxy settings in AdGuard.

How to use AdGuard with PIA (Private Internet Access)

Here we presume that you are already a PIA VPN client and have it installed on your device.

  1. Open AdGuard and go to SettingsFilteringNetworkProxyProxy server.

  2. Tap the Add proxy server button and enter the following data:

    FieldValue
    Proxy typeSOCKS5
    Proxy hostproxy-nl.privateinternetaccess.com
    Proxy port1080
  3. You also need to fill out the Username/Password fields. To do so, log in to the Client Control Panel on the PIA website. Tap the Generate Password button under the Generate PPTP/L2TP/SOCKS Password section. A username starting with “x” and a random password will be shown. Use them to fill out the Proxy username and Proxy password fields in AdGuard.

  4. Tap Save and select.

  5. Enable the main Proxy switch and AdGuard protection to route your device's traffic through the proxy.

How to use AdGuard with TorGuard

Here we presume that you are already a TorGuard client and have it installed on your device.

  1. Open AdGuard and go to SettingsFilteringNetworkProxyProxy server.

  2. Tap the Add proxy server button and enter the following data:

    FieldValue
    Proxy typeSOCKS5
    Proxy hostproxy.torguard.org or proxy.torguard.io
    Proxy port1080 or 1085 or 1090
  3. For Username and Password fields, enter your proxy username and proxy password you have chosen at TorGuard signup.

  4. Tap Save and select.

  5. Enable the main Proxy switch and AdGuard protection to route your device's traffic through the proxy.

How to use AdGuard with NordVPN

  1. Log in to your NordVPN account.

  2. Go to ServicesNordVPNManual setup and set up your service credentials manually.

  3. You will receive a verification code on the email address you use for NordVPN. Use it on your NordVPN account as requested, then tap Apply and OK to save the changes.

Manual setup

  1. Open the AdGuard app, go to SettingsFilteringNetworkProxyProxy serverAdd proxy server.

  2. Enter the following data:

    FieldValue
    Proxy typeSOCKS5
    Proxy hostAny server from this list
    Proxy port1080
  3. Enter your NordVPN credentials in the Username and Password fields.

  4. Tap Save and select.

  5. Enable the main Proxy switch and AdGuard protection to route your device's traffic through the proxy.

How to use AdGuard with Shadowsocks

Here we presume that you have already configured a Shadowsocks server and a client on your device.

note

You should remove Shadowsocks app from filtering before setting up the process (App management → ShadowsocksRoute traffic through AdGuard) to avoid infinite loops and drops.

  1. Open AdGuard and go to SettingsFilteringNetworkProxyProxy server.

  2. Tap the Add proxy server and fill in the fields:

    FieldValue
    Proxy typeSOCKS5
    Proxy host127.0.0.1
    Proxy port1080
  3. Tap Save and select.

  4. Enable the main Proxy switch and AdGuard protection to route your device's traffic through the proxy.

How to use AdGuard with Clash

Here we presume that you are already a Clash client and have it installed on your device.

  1. Open Clash and go to SettingsNetworkRoute System Traffic and toggle the switch. This will set Clash to proxy mode.

  2. Open AdGuard and go to App management. Choose Clash For Android and disable Route traffic through AdGuard. This will eliminate traffic looping.

  3. Then go to SettingsFilteringNetworkProxyProxy server.

  4. Tap Add proxy server and fill in the fields:

    FieldValue
    Proxy typeSOCKS5
    Proxy host127.0.0.1
    Proxy port7891

Limitations

However, at least one factor may prevent certain traffic from being routed through the outbound proxy, even after configuring the AdGuard proxy settings. That would be if the app itself isn't configured to send its traffic through AdGuard. To do it, you need to proceed to App management, choose the app, and turn on Route traffic through AdGuard.