Skip to main content

URL Scheme

Starting from version 1.27.0, Egern supports URL Scheme, allowing users to quickly perform the following actions via URLs: start, stop, add policy groups, add rules, and add modules. Below are the supported URL Scheme and their parameter descriptions:

  1. Start Egern Engine

egern:///start

  1. Stop Egern Engine

egern:///stop

  1. Add a New Policy Group

egern:///policy_groups/new?name=name&url=url Parameter Descriptions:

  • name: Name of the policy group
  • url: URL of the policy
  1. Add a New Rule

egern:///rules/new?type=domain&match=match&policy=DIRECT Parameter Descriptions:

  • type: Rule type (e.g., domain or domain_keyword)
  • match: Matching target (e.g., a specific domain like example.com)
  • policy: Policy (e.g., DIRECT or PROXY)
  1. Add a New Module

egern:///modules/new?name=name&url=url Parameter Descriptions:

  • name: Name of the module
  • url: URL of the module's resource file