Skip to content

Support JSON output for Amnezia split-tunneling #290

@aminasoode

Description

@aminasoode

Feature Request

Description

Add support for exporting a JSON file compatible with Amnezia VPN’s split-tunneling feature.
This would allow Iranian-hosted domains to bypass the VPN automatically.

Motivation

Currently, Amnezia users cannot directly import a list of Iranian domains from this repo.
Previously, a similar project (amnezia-iran-domains-resolver) existed, but it has been archived.
Providing a JSON output would simplify setup and improve usability for users in Iran.

Example

The JSON output could be imported directly in Amnezia under “exclude domains,” so that traffic to Iranian domains does not go through the VPN tunnel.

Suggested Solution

Add a script or an export option that generates a JSON file with the correct format for Amnezia split-tunneling.
The structure should match the format expected by Amnezia (list of domains to bypass).

Alternative Workarounds

Currently, users must manually add or convert the domain list to JSON or use outdated archived scripts, which is inconvenient and error-prone.

Additional Information

This would make the repository more useful for Amnezia VPN users and maintain continuity for the functionality previously offered by the archived project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions