Skip to content

Commit

Permalink
Outbound proxy article update
Browse files Browse the repository at this point in the history
  • Loading branch information
vbagirov committed Jul 18, 2023
1 parent 4666da2 commit 0697f00
Showing 1 changed file with 29 additions and 21 deletions.
50 changes: 29 additions & 21 deletions docs/adguard-for-android/solving-problems/outbound-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ This article covers AdGuard for Android, a multifunctional ad blocker that prote

:::

This article explains how to set up some of the most popular proxies to work with AdGuard.
AdGuard allows you to route your device's traffic through a proxy server. You can access proxy settings by opening **Settings** and then proceeding to **Filtering****Network****Proxy**.

## 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 **Settings****Network****Proxy settings**. Download "Orbot: Proxy with Tor" by tapping **Integrate with Tor** or directly from [Google Play](https://play.google.com/store/apps/details?id=org.torproject.android&noprocess).
1. Open AdGuard and go to **Settings****Filtering****Network****Proxy**. Download "Orbot: Proxy with Tor" directly from [Google Play](https://play.google.com/store/apps/details?id=org.torproject.android&noprocess) or by tapping **Integrate with Tor** and then **Install**.

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

2. Go back to the **Proxy Settings** screen of AdGuard.
2. Go back to the **Proxy** screen of AdGuard.

3. Tap the **Integrate with Tor** button.

Expand All @@ -29,17 +33,17 @@ Proxy type | *SOCKS4* or *SOCKS5*
Proxy host | *127.0.0.1*
Proxy port | *9050*

Or you can tap **Add proxy**, enter these values manually, and set Orbot as a default proxy.
Or you can tap **Proxy server****Add proxy server**, enter these values manually, and set Orbot as a default proxy.

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

Now AdGuard will forward all traffic through Orbot. If you disable Orbot, Internet connection will be unavailable until you disable 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 **Settings****Network****Proxy settings**.
1. Open AdGuard and go to **Settings****Filtering****Network****Proxy****Proxy server**.

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

Expand All @@ -49,17 +53,17 @@ Proxy type | *SOCKS5*
Proxy host | *proxy-nl.privateinternetaccess.com*
Proxy port | *1080*

3. You also need to fill out the **Username/Password** fields. To do so, log in to the [Client Control Panel](https://www.privateinternetaccess.com/pages/client-sign-in) on the PIA website. Click 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 **Username** and **Password** fields in AdGuard.
3. You also need to fill out the **Username/Password** fields. To do so, log in to the [Client Control Panel](https://www.privateinternetaccess.com/pages/client-sign-in) on the PIA website. Click 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. Set this proxy as a default one by toggling the switch, then click **Save**.
4. Click **Save and select**.

5. Enable AdGuard protection.
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 **Settings****Network****Proxy settings**.
1. Open AdGuard and go to **Settings****Filtering****Network****Proxy****Proxy server**.

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

Expand All @@ -71,35 +75,39 @@ Proxy port | *1080* or *1085* or *1090*

3. For **Username** and **Password** fields, enter your proxy username and proxy password you have chosen at TorGuard signup.

4. Set this proxy as a default one by toggling the switch, then click **Save**.
4. Set this proxy as a default one by toggling the switch, then click **Save and select**.

5. Enable AdGuard protection.
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. Open AdGuard and go to **Settings****Network****Proxy settings**.
1. Open AdGuard and go to **Settings****Filtering****Network****Proxy****Proxy server**.

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

Field | Value
------- | ---------
Proxy type | *SOCKS5*
Proxy host | *any server save for "Obfuscated" from [this list](https://nordvpn.com/servers/)*
Proxy host | *any server from [this list](https://support.nordvpn.com/Connectivity/Proxy/)*
Proxy port | *1080*

3. For **Username** and **Password** fields, enter your NordVPN Username and Password.

4. Set this proxy as a default one by toggling the switch, then click **Save**.
4. Set this proxy as a default one by toggling the switch, then click **Save and select**.

5. Enable AdGuard protection.
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 application from filtering before setting up the process (AdGuard - Apps management - Shadowsocks - Disable AdGuard protection) to avoid infinite loops and drops.**
:::note

You should remove Shadowsocks application from filtering before setting up the process (**Settings****Filtering****Apps****App management** → **Shadowsocks****Route traffic through AdGuard**) to avoid infinite loops and drops.

:::

1. Open AdGuard and go to **Settings****Network****Proxy settings**.
1. Open AdGuard and go to **Settings****Filtering****Network****Proxy****Proxy server**.

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

Expand All @@ -109,8 +117,8 @@ Proxy type | *SOCKS5*
Proxy host | *127.0.0.1*
Proxy port | *1080*

3. Tap **Save and select**
5. Enable the main Proxy switch and AdGuard protection to route your device's traffic through the proxy.

### Limitations
## Limitations

There is a factor that can prevent certain traffic from being routed through the outgoing proxy. AdGuard will only re-route traffic that goes through it. Basically, it means apps that have **Ad blocking** flag enabled in the **Apps Management** tab.
There is a factor that can prevent certain traffic from being routed through the outgoing proxy. AdGuard will only re-route traffic that goes through it. Basically, it means apps that have **Ad blocking** flag enabled in the **Apps Management** tab.

0 comments on commit 0697f00

Please sign in to comment.