mirror of
https://github.com/WilliamPeterMatthew/sslocal-manager-alpine.git
synced 2026-02-27 09:53:28 +08:00
change udp config
This commit is contained in:
@@ -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
@@ -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
@@ -5,5 +5,6 @@
|
||||
"local_port": 1080,
|
||||
"password": "Password",
|
||||
"timeout": 300,
|
||||
"method": "aes-256-gcm"
|
||||
"method": "aes-256-gcm",
|
||||
"mode": "tcp_only"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user