summarylogtreecommitdiffstats
path: root/client.json
diff options
context:
space:
mode:
authorfokx2023-06-18 22:41:23 +0800
committerfokx2023-06-18 22:41:23 +0800
commitf924017c81f887aa9dae00d655275944d7ce3690 (patch)
treeaf6bd50e94c0dc20cc07b9534725e59433d221c4 /client.json
parentec156192455db8deb2d5ffc5b47ad697e315b817 (diff)
downloadaur-f924017c81f887aa9dae00d655275944d7ce3690.tar.gz
breaking update: 1.0.0; patch tuic-server: socket.set_only_v6
Diffstat (limited to 'client.json')
-rw-r--r--client.json57
1 files changed, 43 insertions, 14 deletions
diff --git a/client.json b/client.json
index 0f8374702615..677356eb22f8 100644
--- a/client.json
+++ b/client.json
@@ -1,22 +1,51 @@
{
"relay": {
- "server": "<my server domain>",
- "port": 443,
- "token": "mypassword",
- "ip": "<my server ip>",
+ "server": "example.com:443",
+
+ "uuid": "00000000-0000-0000-0000-000000000000",
+
+ "password": "PASSWORD",
+
+ "ip": "127.0.0.1",
+
+ "certificates": ["PATH/TO/CERTIFICATE_1", "PATH/TO/CERTIFICATE_2"],
+
"udp_relay_mode": "native",
- "congestion_controller": "bbr",
- "heartbeat_interval": 10000,
- "alpn": ["h3"],
+
+ "congestion_control": "cubic",
+
+ "alpn": ["h3", "spdy/3.1"],
+
+ "zero_rtt_handshake": false,
+
"disable_sni": false,
- "reduce_rtt": false,
- "request_timeout": 8000,
- "max_udp_relay_packet_size": 1500
+
+ "timeout": "8s",
+
+ "heartbeat": "3s",
+
+ "disable_native_certs": false,
+
+ "send_window": 16777216,
+
+ "receive_window": 8388608,
+
+ "gc_interval": "3s",
+
+ "gc_lifetime": "15s"
},
+
"local": {
- "port": 1080,
- "ip": "127.0.0.1"
+ "server": "[::]:1080",
+
+ "username": "USERNAME",
+
+ "password": "PASSWORD",
+
+ "dual_stack": true,
+
+ "max_packet_size": 1500
},
- "log_level": "info"
-}
+ "log_level": "warn"
+}