From 2b5befdee8629ebb9fdf67f38c4e5ab8e24024ca Mon Sep 17 00:00:00 2001 From: arloor Date: Wed, 4 Sep 2024 23:27:39 +0800 Subject: [PATCH] chore: Update sslocal configuration to use 'host' instead of 'us.arloor.dev' --- test.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test.md b/test.md index d0c87e99779d..3ca94c406798 100644 --- a/test.md +++ b/test.md @@ -1,6 +1,14 @@ ```bash cargo install --path . --bin sslocal --features https-tunnel -sslocal --local-addr 0.0.0.0:2080 -k username:password -v -m aes-256-gcm -s us.arloor.dev:444 +sslocal --local-addr 0.0.0.0:2080 -k username:password -v -m aes-256-gcm -s host:444 curl https://baidu.com -x http://localhost:2080 ``` + +## run.vbs + +```bash +Set WshShell = CreateObject("WScript.Shell") +WshShell.Run "taskkill /F /IM sslocal.exe", 0, True +WshShell.Run "sslocal --local-addr 0.0.0.0:2080 -k username:password -v -m aes-256-gcm -s host:444", 0 +```