RU

Routing

Which sites go through the VPN and which go directly.

The routing header is compatible with Happ: the last part after / is Base64 JSON.

HTTP
routing: happ://routing/onadd/eyJOYW1lIjoiTXlWUE4iLCJEaXJlY3RTaXRlcyI6WyJkb21haW46cnUiXX0=

JSON contents:

JSON
{
  "Name": "MyVPN",
  "DirectSites": ["domain:ru", "domain:su"],
  "DirectIp": ["geoip:private"],
  "ProxySites": [],
  "ProxyIp": [],
  "BlockSites": [],
  "BlockIp": [],
  "DomainStrategy": "IPIfNonMatch",
  "RemoteDNSType": "DoH",
  "RemoteDNSIP": "1.1.1.1",
  "DomesticDNSIP": "77.88.8.8"
}

Users see the “As in subscription” mode and can choose another one. Rules apply only to servers from that subscription.