change udp config

This commit is contained in:
WilliamPeterMatthew
2025-06-01 22:53:46 +08:00
parent a9fb725260
commit 4ba01cf785
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ Modify `local.ssconfig.json` file like this.
"local_port": 1080,
"password": "Password",
"timeout": 300,
"method": "aes-256-gcm"
"method": "aes-256-gcm",
"mode": "tcp_only"
}
```
+1 -1
View File
@@ -25,7 +25,7 @@ if [ "$1" = "sslocal" ]; then
TFO='--tcp-fast-open'
fi
fi
RT_ARGS="--log-without-time -c /.ssconfig.json -U $TFO $ARGS"
RT_ARGS="--log-without-time -c /.ssconfig.json $TFO $ARGS"
fi
exec $@ $RT_ARGS
+2 -1
View File
@@ -5,5 +5,6 @@
"local_port": 1080,
"password": "Password",
"timeout": 300,
"method": "aes-256-gcm"
"method": "aes-256-gcm",
"mode": "tcp_only"
}