Process Rule

You may assign a policy for a specified process. Process rule is available for Surge Mac only, Surge iOS ignores these rules.

PROCESS-NAME Mac Only

PROCESS-NAME,Telegram,Proxy

The PROCESS-NAME rule expression is highly flexible and supports several matching modes:

  1. Filename Mode

    If the expression does not start with /, it matches only the executable file name, regardless of its path.

    Wildcards * and ? are supported in this mode. For example: PROCESS-NAME,Google*

  2. Full Path Mode

    If the expression starts with /, it matches the executable’s full absolute path.

    Wildcards are not supported in this mode. For example: PROCESS-NAME,/usr/bin/ssh

  3. App Bundle Mode Mac 6.0.0+

    If the expression starts with / and also ends with /, the executable path is matched by prefix.

    This mode is particularly useful for application bundles that contain multiple executables. For example: PROCESS-NAME,/Applications/ChatGPT.app/

results matching ""

    No results matching ""