Profile Configuration

For script authoring, see the JavaScript API guide, including an importable demo, request/response fields, completion rules, and runtime limits.

MintFlow for iPhone and iPad and MintFlow X for Mac compile the same plain-text profile format when starting VPN. Save changes, review compilation diagnostics, and reconnect to apply a new configuration. Free and Pro labels describe iOS access. MintFlow X includes its full feature set with the Mac App Store purchase. On iOS, compilation can exclude valid Pro settings when Pro access is unavailable.

Other sections include [simple-mode], [flowlog], [dns-hosts], and [http-body-rewrite]. Tailscale is an experimental [l3vpns] type. HTTP Engine now supports broader capture scope and jq/JavaScript body rules. Local scripts are separate resources; sharing profile text alone does not package them. Use an MFHRB bundle to share a rule and its source together.

The text-based profile is a cornerstone of MintFlow, designed to provide power users with a highly flexible and shareable way to control the app's advanced networking capabilities.

Why Use Profiles?

  • Complex Setups: Easily configure sophisticated routing rules, split DNS, and combinations of proxies and VPNs.
  • Manage Multiple Configurations: Create and switch between different profiles for various scenarios (e.g., a "Work" profile with a corporate VPN and a "Home" profile for personal use).
  • Share and Collaborate: Profiles are plain text, making them easy to share with other MintFlow users, version control with Git, or collaborate on.
  • Import and Export: Seamlessly import profiles from URLs or files, and export your configurations to back them up or share them.

MintFlow uses a powerful and flexible text-based profile format to configure all aspects of the VPN and proxy behavior. This document details the syntax and all available configuration options.

Syntax Overview

The profile uses an INI-style format with sections enclosed in [].

# Comments start with # or //
[section-name]
key=value

# Lists are comma-separated
key=value1,value2,value3

# Structured values use subkey:subvalue pairs
key=subkey1:value1,subkey2:value2

The reference chapters show shared fields and mark macOS-only behavior. For MintFlow X, see process-routing, [macos-process-rules], and Tailscale inbound access.

iOS profile compatibility

On iPhone and iPad, these profile settings require MintFlow 2.2.0 or later.

Reference chapters

Sections

[misc]

Full reference: [misc]

[simple-mode]

Full reference: [simple-mode]

[dns]

Full reference: [dns]

[dns-hosts] (Pro)

Full reference: [dns-hosts]

[l3vpns]

Full reference: [l3vpns]

[wireguard-peers]

Full reference: [wireguard-peers]

[amneziawg-peers]

Full reference: [amneziawg-peers]

[l4proxies]

Full reference: [l4proxies]

[domain-sets]

Full reference: [domain-sets]

[cidr-sets]

Full reference: [cidr-sets]

[routing]

Full reference: [routing]

[macos-process-rules] (macOS only)

Process rule format and precedence

[http-engine]

Full reference: [http-engine]

[http-url-rewrite]

Full reference: [http-url-rewrite]

[http-body-rewrite]

Full reference: [http-body-rewrite]

[flowlog]

Full reference: [flowlog]

[dns-adblock]

Full reference: [dns-adblock]

Read this page as Markdown