{
  // Run a SOCKS5 server on port 5000.
  "url": "socks5://username:password@0.0.0.0:5000",

  // Note that the 'tls' field is optional. When 'cert' and 'key' are provided, it is
  // assumed that TLS needs to be enabled.
  "tls": true,

  "cert": "cert.pem",
  "key": "keyfile.pem",

  // Connections to the SOCKS5 server will be routed through these proxies, in
  // round-robin fashion.
  "proxies": [
    // Connect using a HTTP proxy
    "http://1.2.3.4:5555",
    // .. and a trojan proxy
    "trojan://password@5.6.7.8:9999",
    // .. and another SOCKS5 TLS proxy.
    "socks5://username:password@4.3.2.1:32145/?tls=true"
  ]
}
