Advanced PROXY

Man in the Moon

New Member
En español / In Spanish:



Configuración de AdGuard >>> Red =

1. Filtrado HTTPS: on

2. Proxy: on

3. Modo de filtrado: VPN local

Con la función Proxy encendida y preparada, entendemos que TODO el tráfico del dispositivo bajo el cortafuegos de AdGuard AdBlocker será desviado y enrutado mediante el Proxy que hayamos elegido.

LA PROPUESTA QUE HAGO PARA MEJORAR EL SERVICIO DE ADGUARD ADBLOCKER ES LA SIGUIENTE:

Administrador de aplicaciones >>> Configuración del cortafuegos =

1. Datos móviles: on/off

2. Datos de Wi-Fi: on/off

3. Datos móviles cuando la pantalla está apagada: on/off

4. Datos de Wi-Fi cuando la pantalla está apagada: on/off

5. Notificaciones del cortafuegos: on/off

6. Desvío del tráfico a través de Proxy: on/off

La leyenda para la opción 6 podría ser: «Selecciona el enrutado total o parcial mediante Proxy».

El "Desvío del tráfico a través de Proxy" desactivado, significará la confirmación de que TODO el tráfico del dispositivo bajo el cortafuegos de AdGuard AdBlocker será desviado y enrutado mediante el Proxy que hayamos elegido.

El "Desvío del tráfico a través de Proxy" activado, significará el ofrecimiento de la posibilidad de elección entre dos vertientes simultáneas de enrutado: mediante el Proxy o mediante la VPN local.

SI OPTAMOS POR UN "ENRUTADO PARCIAL":

La elección final de enrutado, mediante Proxy o mediante VPN local, se realizará en la configuración particular del cortafuegos de cada aplicación.

Desactivando la función particular "Desvío del tráfico a través de Proxy" en el cortafuegos de una aplicación, hará que ésa aplicación enrute su tráfico mediante Proxy.

Activando la función particular "Desvío del tráfico a través de Proxy" en el cortafuegos de una aplicación, hará que ésa aplicación enrute su tráfico mediante VPN local.

A MODO DE EJEMPLO Y SOBRE EL POSIBLE ENRUTADO DE UNA APLICACIÓN CONCRETA:

Google Play Store >>> Configuración del cortafuegos =

6. Desvío del tráfico a través de Proxy: on

RESULTADO PARTICULAR PARA LA APLICACIÓN:

Google Play Store quedaría bajo la supervisión del programa establecido en AdGuard AdBlocker y obtendría su comunicación mediante el modo de VPN local, pero sin tener ningún desvío a través del Proxy que haya sido añadido.

Y UNA ÚLTIMA OBSERVACIÓN:

Puede ser considerado otro orden de acción para los controles de apagado y encendido si pensamos que funcionarán mejor con otra lógica.







In English / En inglés:



AdGuard settings >>> Network =

1. HTTPS filtering: on

2. Proxy: on

3. Filtering mode: VPN local

With the Proxy feature turned on and ready, we understand that ALL device traffic under the AdGuard AdBlocker firewall will be detour and routed through the Proxy we have chosen.

THE PROPOSAL I MAKE TO IMPROVE THE ADGUARD ADBLOCKER SERVICE IS THE FOLLOWING:

Application manager >>> Firewall settings =

1. Mobile data: on/off

2. Wi-Fi data: on/off

3. Mobile data when screen is off: on/off

4. Wi-Fi data when screen is off: on/off

5. Firewall notifications: on/off

6. Traffic forwarding via Proxy: on/off

The legend for option 6 could be: «Select full or partial proxy routing».

The "Traffic forwarding via Proxy" disabled, will mean confirmation that ALL device traffic under the AdGuard AdBlocker firewall will be detour and routed through the Proxy we have chosen.

The "Traffic forwarding via Proxy" activated, will mean offering the possibility of choosing between two simultaneous routing paths: through the Proxy or through the VPN local.

IF WE OPTE FOR A "PARTIAL ROUTING":

The final choice of routing, through Proxy or through VPN local, will be made in the particular configuration of the firewall of each application.

Disabling the particular feature "Traffic forwarding via Proxy" in an application's firewall will cause that application to route its traffic through Proxy.

Enabling the particular feature "Traffic forwarding via Proxy" in an application's firewall will cause that application to route its traffic through VPN local.

BY WAY OF EXAMPLE AND ABOUT THE POSSIBLE ROUTING OF A SPECIFIC APPLICATION:

Google Play Store >>> Firewall settings =

6. Traffic forwarding via Proxy: on

PARTICULAR RESULT FOR THE APPLICATION:

Google Play Store would be under the supervision of the program established in AdGuard AdBlocker and would obtain its communication through the VPN local mode, but without having any detour through the Proxy that has been added.

AND ONE LAST REMARK:

Another order of action for the on and off controls can be considered if we think they will work better with other logic.
 

Man in the Moon

New Member
PORQUÉ HAGO ESTA SOLICITUD DE BIFURCACIÓN PARA EL ENRUTADO VÍA PROXY:

Primero, porque en el Sistema Android nos encontramos con la "dificultad" de tener disponible un único servicio VPN activo. Es decir, si AdGuard AdBlocker se presenta como «Local VPN» (el modo en el que AdGuard es "todopoderoso"...) no puede haber otro servicio VPN también activo al mismo tiempo.

Segundo, porque hay aplicaciones que ponen grandes dificultades al desvío del tráfico mediante un servicio de Proxy después de pasar por la inspección de AdGuard AdBlocker; pero no sucede tanto así cuando esas aplicaciones son enrutadas únicamente a través del cortafuegos que propone AdGuard.

Por lo tanto, pienso que sería perfecto el poder tener la posibilidad de desviar el tráfico a través de un servicio de Proxy, activo y a disposición de AdGuard AdBlocker, junto con la posibilidad de elegir entre un enrutado parcial (sólo «Local VPN») o un enrutado completo («Local VPN» + Proxy).







WHY I AM MAKING THIS FORK REQUEST TO THE ROUTING VIA PROXY:

First, because in the Android System we find ourselves with the "difficulty" of having a single active VPN service available. That is, if AdGuard AdBlocker presents itself as «Local VPN» (the way AdGuard is "almighty"...) there can be no other VPN service also active at the same time.

Second, because there are applications that make it very difficult to divert traffic through a Proxy service after passing the AdGuard AdBlocker inspection; but not so much the case when those applications are routed only through the firewall proposed by AdGuard.

Therefore, I think it would be perfect to have the possibility to divert traffic through a Proxy service, active and available to AdGuard AdBlocker, together with the possibility to choose between partial routing (only «Local VPN») or complete routing («Local VPN» + Proxy).
 

Boo Berry

Moderator + Beta Tester
Moderator
AG for Android already has a local HTTP proxy filtering option as an alternative to the local VPN, but unless you're rooted and can take advantage of automatically setting it up, without root you have to manually set it up. https://kb.adguard.com/android/faq#http

Android is the one that limits to one VPN at a time, not AG for Android itself. Even though AG for Android uses a local VPN, which isn't a real VPN, it still counts towards that limit. Using SOCKS5 proxies is one of the workarounds, more info here: https://kb.adguard.com/android/solving-problems/adguard-outbound-proxy
 

Man in the Moon

New Member
(In Spanish / En español:)



Distinguido Boo Berry:

Es importante recordar una y otra vez las condiciones necesarias a las que AdGuard AdBlocker debe atenerse en cualquier S. O. Android.

1. En dispositivos NO enraizados: puedes optar por usar A. A. en modo "VPN local" de manera automática o en modo "Proxy" de manera manual.

2. En dispositivos enraizados: puedes optar por usar A. A. de manera automática tanto en modo "VPN local" como en modo "Proxy".

Y, en cualquiera de las dos situaciones, puedes usar A. A. sabiendo que el modo "VPN local" siempre contará para Android como un verdadero servicio de VPN aunque, en realidad, A. A. no establezca un verdadero servicio de VPN.

Razón por la cuál, si usas A. A. en modo "VPN local", nunca podrás establecer otro servicio de VPN por muy verdadero que éste sea. Porque Android no admite dos servicios de VPN funcionando simultáneamente y considera que A. A. ya está proporcionando un servicio de VPN.

Y, así mismo, también conviene saber y tener presente que A. A. es más poderoso en el modo "VPN local" que en el modo "Proxy".

Sí, es importante recordar y tener siempre presente todo esto, distinguido amigo.

¡Pero me queda la DUDA, más que razonable, de no saber si has comprendido o no mi propuesta!

La Duda, amigo mío, con su bonito nombre de perrita rusa (fonéticamente reinterpretado en español)...

ASÍ QUE REPETIRÉ TAMBIÉN MI PROPUESTA:

1. Tenemos AdGuard AdBlocker en modo "VPN local".

2. Añadimos un "Proxy" EXTERNO (sí, ése "Mega-Proxy"...)

3. Si activamos en A. A. el uso del "Mega-Proxy", TODO el tráfico será desviado hacia el "Proxy" EXTERNO.

4. Si desactivamos en A. A. el uso del "Mega-Proxy", NINGÚN tráfico será desviado fuera de la ruta "VPN local".

5. PROPONGO CREAR UNA ALTERNATIVA PARA PODER ELEGIR DE MANERA PARTICULAR (APLICACIÓN POR APLICACIÓN) ENTRE LA RUTA "VPN local" O LA RUTA "Mega-Proxy", SEGÚN CONVENGA, AL ACTIVAR EL "Proxy" EXTERNO.

5.1 La idea no puede ser más simple y "revolucionaria" (por favor, observen las comillas): se trata de poder disponer de ambas rutas con carácter SELECCIONABLE y romper definitivamente con la actual regla de TODO o NADA a través de un "Proxy" EXTERNO.

5.2 Por favor, observad que hay servicios verdaderos de VPN que ofrecen la posibilidad de seleccionar, aplicación por aplicación, cuáles pasarán por el tunel VPN y cuáles no.

5.3 Quiero que A. A. me permita enrutar el tráfico de Firefox a través del "Proxy" EXTERNO ("Mega-Proxy") y, al mismo tiempo, que el tráfico de Google Play Store sólo pase por la "VPN local".

¡Por Dios!, ¿nadie ha comprendido esto? ¿A nadie le interesa tener mejores prestaciones en AdGuard AdBlocker?







(En inglés / In English:)



Distinguished Boo Berry:

It is important to remember again and again the necessary conditions that AdGuard AdBlocker must adhere to in any Android O.S.

1. On NON-rooted devices: You can choose to use A. A. in "Local VPN" mode automatically or in "Proxy" mode manually.

2. On rooted devices: You can choose to use A. A. automatically in both "Local VPN" mode and "Proxy" mode.

And, in either situation, you can use A. A. knowing that "Local VPN" mode will always count to Android as a true VPN service even though A. A. does not actually establish a true VPN service.

Which is why, if you use A. A. in "Local VPN" mode, you will never be able to establish another VPN service no matter how true it is. Because Android does not support two VPN services running simultaneously and considers that A. A. is already providing a VPN service.

And, likewise, it is also worth knowing and keeping in mind that A. A. is more powerful in "Local VPN" mode than in "Proxy" mode.

Yes, it is important to remember and keep all this in mind, distinguished friend.

¡But I am left with the more than reasonable DOUBT ("DUDA", in Spanish) of not knowing if you have understood my proposal or not!

The "Duda", my friend, with her pretty Russian dog name (phonetically reinterpreted in Spanish)...

SO I WILL ALSO REPEAT MY PROPOSAL:

1. We have AdGuard AdBlocker in "Local VPN" mode.

2. We add an EXTERNAL "Proxy" (yes, that "Mega-Proxy"...)

3. If we activate the use of the "Mega-Proxy" in A. A., ALL traffic will be diverted to the EXTERNAL "Proxy".

4. If we deactivate the use of the "Mega-Proxy" in A. A., NO traffic will be diverted out of the "Local VPN" route.

5. I PROPOSE TO CREATE AN ALTERNATIVE TO BE ABLE TO CHOOSE IN A PARTICULAR WAY (APPLICATION BY APPLICATION) BETWEEN THE "Local VPN" ROUTE OR THE "Mega-Proxy" ROUTE, AS APPROPRIATE, WHEN ACTIVATING THE EXTERNAL "Proxy".

5.1 The idea could not be simpler and "revolutionary" (please, observe the quotes): it is about being able to have both routes with a SELECTABLE character and definitively breaking with the current rule of ALL or NOTHING through a "Proxy" EXTERNAL.

5.2 Please, note that there are real VPN services that offer the ability to select, app by app, which ones will go through the VPN tunnel and which ones will not.

5.3 I want A. A. to allow me to route Firefox traffic through the EXTERNAL "Proxy" ("Mega-Proxy"), while allowing Google Play Store traffic to only go through the "Local VPN".

¡My God!, ¿has no one understood this? ¿Is anyone interested in having better features in AdGuard AdBlocker?
 
Top