Skip to content

Commit 86bb94f

Browse files
authored
Merge pull request #759 from cjmaxik/patch-1
Add WG Tunnel as the example of an outbound proxy
2 parents 1f0bcc6 + c981a6e commit 86bb94f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/adguard-for-android/solving-problems/outbound-proxy.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,28 @@ You should remove Shadowsocks app from filtering before setting up the process (
155155
Proxy host | *127.0.0.1*
156156
Proxy port | *7891*
157157

158+
### How to use AdGuard with WG Tunnel
159+
160+
*The proxy mode was added in version 4.0. We presume that you already have WG Tunnel installed on your device and have added the WireGuard configuration.*
161+
162+
1. Open WG Tunnel and go to **Settings** (the cog wheel at the bottom) → **App Mode****Proxy (experimental)**. This will set WG Tunnel to proxy mode.
163+
164+
1. Open AdGuard and go to **App management**. Choose **WG Tunnel** and disable **Route traffic through AdGuard**. This will eliminate traffic looping.
165+
166+
1. Then go to **Settings****Filtering****Network****Proxy****Proxy server**.
167+
168+
1. Tap **Add proxy server** and fill in the fields:
169+
170+
Field | Value
171+
------- | ---------
172+
Proxy type | *SOCKS5*
173+
Proxy host | *127.0.0.1*
174+
Proxy port | *25344*
175+
176+
1. Tap **Save and select**.
177+
178+
1. Enable the main proxy switch and AdGuard protection to route your device’s traffic through the proxy.
179+
158180
## Limitations
159181

160182
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**.

0 commit comments

Comments
 (0)