github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/inbound/socks.md (about)

     1  `socks` inbound is a socks4, socks4a, socks5 server.
     2  
     3  ### Structure
     4  
     5  ```json
     6  {
     7    "type": "socks",
     8    "tag": "socks-in",
     9  
    10    ... // Listen Fields
    11  
    12    "users": [
    13      {
    14        "username": "admin",
    15        "password": "admin"
    16      }
    17    ]
    18  }
    19  ```
    20  
    21  ### Listen Fields
    22  
    23  See [Listen Fields](/configuration/shared/listen) for details.
    24  
    25  ### Fields
    26  
    27  #### users
    28  
    29  SOCKS users.
    30  
    31  No authentication required if empty.