github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/inbound/direct.md (about) 1 `direct` inbound is a tunnel server. 2 3 ### Structure 4 5 ```json 6 { 7 "type": "direct", 8 "tag": "direct-in", 9 10 ... // Listen Fields 11 12 "network": "udp", 13 "override_address": "1.0.0.1", 14 "override_port": 53 15 } 16 ``` 17 18 ### Listen Fields 19 20 See [Listen Fields](/configuration/shared/listen) for details. 21 22 ### Fields 23 24 #### network 25 26 Listen network, one of `tcp` `udp`. 27 28 Both if empty. 29 30 #### override_address 31 32 Override the connection destination address. 33 34 #### override_port 35 36 Override the connection destination port.