[GH-ISSUE #3421] Feature: server-provided site lists for split tunneling #3259

Open
opened 2026-11-07 17:58:08 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @mikalauskas on GitHub (Nov 6, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3421

site list for split tunneling is kept per server instead of per client.

  • splitTunnelListUrl and splitTunnelListMode (except/forward) in the self-hosted server config, shipped to users with the existing vpn:// key
  • client fetches the list only while the tunnel is up and the address is routed into the tunnel, on connect and once a day
  • payload is the current export format, an exported file can be hosted as is
  • server entries are locked in the site split tunneling page, local ones stay editable, the mode is not switched silently

m1 - admin hosts the json
m2 - service container on amnezia-dns-net serving /rules.json

split tunneling sites - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/core/controllers/ipSplitTunnelingController.cpp
site routes per platform - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/vpnConnection.cpp
server export - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/core/controllers/selfhosted/exportController.cpp
internal network - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/server_scripts/prepare_host.sh

related: #1960, #2506, #1039, #1423

Originally created by @mikalauskas on GitHub (Nov 6, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3421 site list for split tunneling is kept per server instead of per client. - `splitTunnelListUrl` and `splitTunnelListMode` (`except`/`forward`) in the self-hosted server config, shipped to users with the existing `vpn://` key - client fetches the list only while the tunnel is up and the address is routed into the tunnel, on connect and once a day - payload is the current export format, an exported file can be hosted as is - server entries are locked in the site split tunneling page, local ones stay editable, the mode is not switched silently m1 - admin hosts the json m2 - service container on `amnezia-dns-net` serving `/rules.json` split tunneling sites - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/core/controllers/ipSplitTunnelingController.cpp site routes per platform - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/vpnConnection.cpp server export - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/core/controllers/selfhosted/exportController.cpp internal network - https://github.com/amnezia-vpn/amnezia-client/blob/dev/client/server_scripts/prepare_host.sh related: #1960, #2506, #1039, #1423
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#3259
No description provided.