How to make AdGuard work with proxies/VPNs like Clash in Windows (using Clash as an example)
Lazy loaded imageHow to make AdGuard work with proxies/VPNs like Clash in Windows (using Clash as an example)
Words 554Read Time 2 min
2024-12-18
2024-12-27
AI intelligent summary
GPT
The article explains how to integrate AdGuard with proxy/VPN tools like Clash on Windows. It covers three modes: proxy software filtering through AdGuard directly, AdGuard working with software in TUN mode, and AdGuard acting as a system proxy. It also includes optional DNS configuration and extended reading.
This article focuses on how to use AdGuard in conjunction with a proxy/VPN tool such as Clash in a Windows environment, explaining in detail the problems that may be encountered and the related concepts, with Clash as the main object of the explanation.
 

📝 Main content

software version

AdGuard Windows 7.16.0 Clash

I. Mode I: Proxy software takes over traffic in any way and AdGuard filters the proxy software kernel directly (best solution if not a problem)

  • Pros:
    • receivership Wide range of quantities and convenience
  • Drawbacks:
    • Not tested in the long term. Performance and bugs unknown

1. Basic principles

Taking over via proxy software Other software The flow is diverted and then passed through the Adguard direct confrontation Kernel for agent software Traffic is filtered to achieve Use both at the same time

2. Configuring Clash

Taking over traffic with system proxies, etc.

3. Configuring Adguard

configure Adguard filtration The kernel of the agent software ( Please find out for yourself the location of the kernel used by the proxy software. (Each client is different)
notion image
notion image
💡
Repeated filtering should be avoided:
  • testimonials Don't use both AdGuard to filter application traffic and proxy software to proxy traffic
    • This should be filtered many times over. Impact on performance
    • Known Issues:
        • If, in order to avoid duplicate filtering, the Browsers not filtered by Exe AdGuard's Browser plug-ins will not function properly
        notion image
         

II. Modality II: Adguard Taking over others Software and agent software Tun mode

  • Pros:
    • receivership Wide range of quantities and convenience
  • Drawbacks:
    • must use Tun Mode Secondary Agent (to proxy software) Higher requirements for shunting and poorer performance )

1. Basic principles

pass (a bill or inspection etc) Adguard receivership Other software The traffic is filtered and then passed through the proxy software (used form a nominal expression) Tun Mode receivership Adguard flow, realizing Use both at the same time
notion image

2. Configuring Clash

Turn on Tun Mode ( Configuration file method maybe Client-side Override (All, major proxy software to turn on Tun mode way please consult your own)

3. Configuring Adguard

Normal configuration of Adguard filtering (traffic filtering and Http proxy methods) all can be used )
notion image
💡
Problems likely to be encountered
  1. Network driver selection issues
  1. Adguard's HTTP Proxy Usage
      • Configuring as a System Agent (not all software supports use)
      • Software individually configured (not all software supports use)

III. Modality III: Adguard Taking over others software and agent software as a system agent

  • Pros:
    • receivership Precise measurement range, low diversion requirements
  • Drawbacks:
    • Some software may Unable or inconvenient to filter
    • Some software may Unable to access proxy software triage (system proxy approach not supported)

1. Basic principles

pass (a bill or inspection etc) Adguard receivership Other software The traffic is filtered and then passed through the System Agent way to take over the traffic to the proxy software in which the realization of the Use both at the same time

2. Configuring Clash

Configure the proxy port ( Configuration file method maybe Client-side Override (Please refer to the major proxy software to configure the proxy port mode by yourself)

3. Configuring Adguard

Configure Adguard filtering normally (only use Flow Filtration (modalities)

IV. Configuring DNS Issues (Optional. android side (Configuration)

📖 Extended reading

🤗 Summarize and summarize

Not at the moment

📎 Reference article

Main Reference Not available
 
💡
acceptable become a member Telegram's Little Warehouse of Seven Rows | Internet Memories | Blogs  cap Seven lines Technical Exchange Group  Find more tips oh 🥰 and also discuss various issues in the chat group ❓
Welcome to the Bottom comment section. Share your thoughts and experiences with Let's discuss and improve together!
 

Comments
Loading...