sing-box/docs/configuration/index.md
2023-02-21 20:54:25 +08:00

771 B

Introduction

sing-box uses JSON for configuration files.

Structure

{
  "log": {},
  "dns": {},
  "ntp": {},
  "inbounds": [],
  "outbounds": [],
  "route": {},
  "experimental": {}
}

Fields

Key Format
log Log
dns DNS
ntp NTP
inbounds Inbound
outbounds Outbound
route Route
experimental Experimental

Check

$ sing-box check

Format

$ sing-box format -w