Skip to content

Different routing behavior of 2GIS domains in “VPN” and “local proxy” modes when using geosite/geoip ru #24

@aturtsev

Description

@aturtsev

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:
    1. Karing works as a local proxy, and AdGuard is the system VPN.
    2. Karing works as a system VPN.

Symptoms

  1. Karing as a local proxy (AdGuard = VPN):
    All 2GIS domains (2gis.ru, 2gis.com, etc.) go directly.

  2. 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

  1. Is this difference in behavior expected and correct?
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions