{ "log": { "level": "info" }, "dns": { "servers": [ { "type": "local", "tag": "default" } ] }, "inbounds": [ { // The "failover" inbound wraps several listeners. If any of them // panics or fails to accept, the parent supervises and restarts it // automatically without affecting the rest of the box. "type": "failover", "inbounds": [ { "type": "mixed", "tag": "socks-in-1", "listen": "0.0.0.0", "listen_port": 10001 }, { "type": "mixed", "tag": "socks-in-2", "listen": "0.0.0.0", "listen_port": 10002 }, { "type": "vless", "tag": "vless-in", "listen": "0.0.0.0", "listen_port": 8443, "users": [ { "name": "user", "uuid": "9b65b7e1-04c8-4717-8f45-2aa61fd25937" } ] } ] } ], "outbounds": [ { "type": "direct", "tag": "direct" } ], "route": { "final": "direct", "default_domain_resolver": "default", "auto_detect_interface": true } }