I noticed differences in the routing of 2GIS domains when Karing was running in different modes with the same rules (geosite:ru and geoip:ru). This difference is particularly noticeable when using VPN (TUN) mode on a computer, for example in macOS.
Configuration
- Only standard rules
geosite:ru and geoip:ru are used.
- Two options:
- Karing works as a local proxy, and AdGuard is the system VPN.
- Karing works as a system VPN.
Symptoms
-
Karing as a local proxy (AdGuard = VPN):
All 2GIS domains (2gis.ru, 2gis.com, etc.) go directly.
-
Karing as a system VPN:
2gis.ru goes directly (as expected).
2gis.com and some other domains go through a proxy, although a direct route is expected.
The screenshots show:
– In local proxy mode, all 2GIS domains go direct.
– In VPN (TUN) mode, only .ru goes direct.
Temporary solution
I have temporarily added explicit rules for direct routing of 2GIS domains:
.2gis.ru
.2gis.kz
.2gis.kg
.2gis.uz
.2gis.ae
.2gis.com
.2gis.cl
.2gis.cy
.2gis.cz
.2gis.it
.2gis.com.cy
Questions
- Is this difference in behavior expected and correct?
- Is it correct that in local proxy mode, the actual routing depends on the system VPN (AdGuard) rather than on Karing rules?
Suggestion
Add 2GIS domains to geosite/category-ru so that they are initially routed correctly without a manual list.
I am ready to provide additional data and logs if necessary.
I noticed differences in the routing of 2GIS domains when Karing was running in different modes with the same rules (
geosite:ruandgeoip:ru). This difference is particularly noticeable when using VPN (TUN) mode on a computer, for example in macOS.Configuration
geosite:ruandgeoip:ruare used.Symptoms
Karing as a local proxy (AdGuard = VPN):
All 2GIS domains (
2gis.ru,2gis.com, etc.) go directly.Karing as a system VPN:
2gis.rugoes directly (as expected).2gis.comand some other domains go through a proxy, although a direct route is expected.The screenshots show:
– In local proxy mode, all 2GIS domains go direct.
– In VPN (TUN) mode, only
.rugoes direct.Temporary solution
I have temporarily added explicit rules for direct routing of 2GIS domains:
Questions
Suggestion
Add 2GIS domains to
geosite/category-ruso that they are initially routed correctly without a manual list.I am ready to provide additional data and logs if necessary.