diff --git a/Socks5-TLS/config_client.json b/Socks5-TLS/config_client.json index d0d84e6..e97a43c 100644 --- a/Socks5-TLS/config_client.json +++ b/Socks5-TLS/config_client.json @@ -2,36 +2,65 @@ "log": { "loglevel": "warning" }, - "inbound": { - "port": 6789, - "listen": "127.0.0.1", - "protocol": "socks", - "settings": { - "auth": "noauth", - "udp": false, - "ip": "127.0.0.1" - } + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } + ] }, - "outbound": { - "protocol": "socks", - "settings": { - "servers": [ - { - "address": "you server", - "port": 443, - "users": [ - { - "user": "hello", - "pass": "3.1415", - "level": 0 - } - ] - } - ] + "inbounds": [ + { + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } }, - "streamSettings": { - "network": "tcp", - "security": "tls" + { + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" } - } + ], + "outbounds": [ + { + "protocol": "socks", + "settings": { + "server": [ + { + "address": "", + "port": 1234, + "users": [ + { + "user": "", + "pass": "" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "serverName": "example.domain", + "allowInsecure": false + } + }, + "tag": "proxy" + }, + { + "protocol": "freedom", + "tag": "direct" + } + ] }