[GH-ISSUE #3399] Feature request: import split-tunneling lists via URL/deep link and keep them updated #3246

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

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

Feature request

Please add URL-based import and optional automatic updates for site-based split-tunneling lists, especially on iOS.

This request is about routing lists (domains, IP addresses and CIDR subnets), not subscriptions containing VPN server configurations.

Use case

I use AmneziaVPN on iOS and want selected destinations to bypass the VPN while all other traffic uses the tunnel.

Currently, distributing and updating an exclusion list requires downloading a JSON file and manually selecting it in the split-tunneling import dialog. If the list changes, each user must repeat this process.

The desired workflow is:

  1. A list maintainer publishes a compatible JSON list at a stable HTTPS URL.
  2. A user opens an import link (or pastes the HTTPS URL into AmneziaVPN).
  3. The app previews the source and routing mode and asks the user to confirm the import.
  4. The user can refresh the list manually and optionally enable periodic updates.

This would make it easier to keep the same exclusion list current across devices and share it with family or other users without repeatedly distributing files.

Proposed behavior

  • Import an existing Amnezia site-list JSON file directly from an HTTPS URL.
  • Support opening a dedicated deep link or universal link that passes the list URL to AmneziaVPN. The exact link format can be chosen by the maintainers.
  • Let the user explicitly select the routing mode. My main use case is "Addresses from the list should not be accessed via VPN"; importing a list should not silently change the existing mode.
  • Store the source URL and expose a "Refresh" action, last successful update time, and update errors.
  • Offer opt-in automatic refresh, subject to iOS background-execution restrictions; refreshing on app launch or before connection would also be useful.
  • Keep downloaded entries associated with their source so that a successful refresh replaces that source's entries, including removals, while preserving independently added local entries.
  • Validate the complete response before applying it. On download or validation failure, retain the last successfully imported list.
  • Apply updated routes at the next connection if changing them during an active connection is unsupported, and make that behavior clear in the UI.
  • Reuse the existing site-list JSON format and supported address types where possible.

A useful first version could support pasting an HTTPS URL and manually refreshing it, with deep links and automatic refresh added later.

  • #1039 requests additional list formats and automatic downloading/updating of site lists. This request focuses specifically on an HTTPS source, one-link import and its update lifecycle.
  • #2449 concerns sharing split-tunneling settings through JSON files.
  • #1423 tracks broader improvements to site-based split tunneling.
  • PR #2506 proposed server-managed bypass rules and client synchronization, but was closed without merging. Its description explicitly excludes a full subscription/update system for external third-party lists. The workflow requested here would allow a list hosted independently of the VPN server.
  • #3298 requests URL subscriptions for VPN server configurations, which is a separate use case.

Platform

Primary use case: AmneziaVPN on iOS. The same list-source mechanism would also be useful on other platforms.

Originally created by @GhostR111der on GitHub (Nov 4, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3399 ## Feature request Please add URL-based import and optional automatic updates for site-based split-tunneling lists, especially on iOS. This request is about routing lists (domains, IP addresses and CIDR subnets), not subscriptions containing VPN server configurations. ## Use case I use AmneziaVPN on iOS and want selected destinations to bypass the VPN while all other traffic uses the tunnel. Currently, distributing and updating an exclusion list requires downloading a JSON file and manually selecting it in the split-tunneling import dialog. If the list changes, each user must repeat this process. The desired workflow is: 1. A list maintainer publishes a compatible JSON list at a stable HTTPS URL. 2. A user opens an import link (or pastes the HTTPS URL into AmneziaVPN). 3. The app previews the source and routing mode and asks the user to confirm the import. 4. The user can refresh the list manually and optionally enable periodic updates. This would make it easier to keep the same exclusion list current across devices and share it with family or other users without repeatedly distributing files. ## Proposed behavior - Import an existing Amnezia site-list JSON file directly from an HTTPS URL. - Support opening a dedicated deep link or universal link that passes the list URL to AmneziaVPN. The exact link format can be chosen by the maintainers. - Let the user explicitly select the routing mode. My main use case is "Addresses from the list should not be accessed via VPN"; importing a list should not silently change the existing mode. - Store the source URL and expose a "Refresh" action, last successful update time, and update errors. - Offer opt-in automatic refresh, subject to iOS background-execution restrictions; refreshing on app launch or before connection would also be useful. - Keep downloaded entries associated with their source so that a successful refresh replaces that source's entries, including removals, while preserving independently added local entries. - Validate the complete response before applying it. On download or validation failure, retain the last successfully imported list. - Apply updated routes at the next connection if changing them during an active connection is unsupported, and make that behavior clear in the UI. - Reuse the existing site-list JSON format and supported address types where possible. A useful first version could support pasting an HTTPS URL and manually refreshing it, with deep links and automatic refresh added later. ## Related work - #1039 requests additional list formats and automatic downloading/updating of site lists. This request focuses specifically on an HTTPS source, one-link import and its update lifecycle. - #2449 concerns sharing split-tunneling settings through JSON files. - #1423 tracks broader improvements to site-based split tunneling. - PR #2506 proposed server-managed bypass rules and client synchronization, but was closed without merging. Its description explicitly excludes a full subscription/update system for external third-party lists. The workflow requested here would allow a list hosted independently of the VPN server. - #3298 requests URL subscriptions for VPN server configurations, which is a separate use case. ## Platform Primary use case: AmneziaVPN on iOS. The same list-source mechanism would also be useful on other platforms.
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#3246
No description provided.