If you run your own proxy server, or received a complete config.yaml some other way, you can import the file directly - no subscription URL needed.

Method 1: drag and drop

Open the Profiles page and drag the .yaml / .yml file into the window. A new profile card is created on drop. This is the fastest way.

Method 2: file import

The Profiles input row also accepts local files: click the Import control (a folder icon in some versions) next to the input and pick your file.

A minimal working config

mixed-port: 7890
allow-lan: false
mode: rule
log-level: info

proxies:
  - name: "my-server"
    type: ss
    server: example.com
    port: 8388
    cipher: aes-256-gcm
    password: your-password

proxy-groups:
  - name: "PROXY"
    type: select
    proxies: ["my-server", "DIRECT"]

rules:
  - GEOIP,CN,DIRECT
  - MATCH,PROXY

Replace the server details with your own. Every field is documented in YAML Config Structure.

Editing and hot reload

  • Right-click the profile card and choose Edit File to open it in your default editor.
  • After saving, CFW reloads the profile automatically; the refresh button on the card forces a reload.
  • YAML is indentation-sensitive: spaces only, never tabs, and a space is required after each colon.
Tip: if nodes don't change after a reload, check the Logs page for YAML parse errors - one bad indent invalidates the whole file.