From df3a6b4624d6c222b8bf34c1a4fdd8025277868a Mon Sep 17 00:00:00 2001 From: AhFei Date: Mon, 16 Jan 2023 02:53:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E7=BB=93=E6=9E=9C=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- naivesetup.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/naivesetup.sh b/naivesetup.sh index 98e5ab5..f2b3d3d 100644 --- a/naivesetup.sh +++ b/naivesetup.sh @@ -66,5 +66,16 @@ EOF systemctl daemon-reload systemctl enable --now naiveCaddy -echo 'ss -tulpn | grep caddy' -systemctl status naiveCaddy \ No newline at end of file +echo $(ss -tulpn | grep caddy) +systemctl status naiveCaddy + +echo -e "Naiveproxy Config +Host: ${1} +Port: 443 +Username: ${3} +Password: ${4} +{ + \"listen\": \"socks://127.0.0.1:1088\", + \"proxy\": \"https://${3}:${4}@${1}\", + \"log\": \"\" +}" \ No newline at end of file