Skip to content

An editor and a separate endpoint for the routing configuration. #635

Description

@ArthurKoba

Is your feature request related to a problem? Please describe.
Some (or maybe many) proxy applications (Happ, v2rayTun) allow you to import the routing configuration from the link.

Describe the solution you'd like
I suggest implementing an editor for routing rules and making a separate endpoint for issuing them to users. For example, use this type of link https://panel-host.io/rules /{rule_id or short-name}. In the panel, create a separate section for the editor, which will allow you to reconfigure the rules, make them available by link, delete and change their prefix.

Documentation from happ and v2raytun:
https://docs.v2raytun.com/overview/supported-headers#routing
https://www.happ.su/main/dev-docs/routing

Additional context
I know that Happ reads certain headers (Routing) when updating a subscription, and if there is a link there, the application tries to receive the content and force routing.
It would be cool to make a subscription option that will take the standard routing rule (if set) and insert it into the header.

A screenshot confirming that v2raytun is able to work with such links Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions