我們製作了一個極簡的 WireGuard 交互式組網腳本。無需手寫配置,只需簡單選擇 A、B、C 選項,即可將你的利群主機與任何雲端服務器(阿里雲、騰訊雲、家裡雲)絲滑連通。
We created a minimal Interactive WireGuard Script. No manual configuration needed. Just select A, B, or C to seamlessly connect your LeiKwan Host with any cloud server (Alibaba, Tencent, or HomeLab).
💡 核心用途 / Key Features
1. 🚀 解決 IPv6 限速與干擾 / Fix IPv6 Speed Issues 利用線路優質的公網機器中轉,解決校園網或特定網絡環境下的 IPv6 限速與丟包問題。 Bypass IPv6 throttling and packet loss on campus networks by tunneling traffic through a high-quality public server.
2. 🔗 連接無 IPv6 的雲主機 / Connect Cloud Servers without IPv6 讓不支持 IPv6 的阿里雲/騰訊雲輕量服務器,也能直接訪問你的利群主機內網。 Allow Alibaba/Tencent Cloud servers (that lack IPv6) to access your LeiKwan Host intranet directly.
3. 🏠 家裡雲內網穿透 / HomeLab Access 將利群主機接入家庭網絡,隨時隨地管理。 Connect your LeiKwan Host to your home network for remote management anywhere.
💻 一鍵安裝 / Quick Start
在兩台機器上執行以下命令即可下載並運行: Run the following command on both machines to download and start:
wget -N https://ex-files.leikwanhost.com/auto-wg.sh && chmod +x auto-wg.sh && sudo ./auto-wg.sh
🛠️ 使用指南 / User Guide
此腳本採用 A -> B -> C 的邏輯: The script follows an A -> B -> C logic:
-
在利群主機 (內網) 運行 / On LeiKwan Host (Intranet):
-
選擇
1. A選項。 -
複製生成的 Public Key。 / Copy the generated Public Key.
-
-
在雲端機器 (公網) 運行 / On Cloud Server (Public IP):
-
選擇
2. B選項。 -
輸入 A 的 Key,腳本將自動部署並生成連接信息。 / Input A’s Key. The script will deploy and generate connection info.
-
-
回到利群主機 (內網) / Back to LeiKwan Host (Intranet):
-
再次運行腳本,選擇
3. C選項。 -
填入 B 的信息,完成握手! / Input B’s info to finish the handshake!
-


没有回复内容