WireGuard - Linux

1. 安裝WireGuard

以Ubuntu 20 TLS 為例
apt update
apt install wireguard resolvconf

2. 配置WG 客戶端

編輯wg0.conf
vim /etc/wireguard/wg0.conf

在套餐詳情頁面中,點擊 線路中的Config 按鈕複製對應的配置文檔,粘貼入wg0.conf,保存。

3. 啟動WG
wg-quick up wg0

4. 測試WG
ping 10.200.0.1

5. 如果提供的默認config文檔無法連接,但是Random Port有效,請在Random Port範圍內隨機選取一個端口,替換Endpoint中的默認5353

如需隨機啟動:
systemctl enable wg-quick@wg0
取消隨機啟動
systemctl disable wg-quick@wg0

此答案有用麼?

 列印

建議閱讀

WireGuard - iOS

1. 安裝客戶端,你可以於App Store中搜索WireGuard, 或訪問https://apps.apple.com/tw/app/wireguard/id14411952092....

WireGuard - Android setup

1. Install WireGuard app, https://dl.vpnaff.com/?dir=WireGuard2. Get WireGuard server...

WireGuard - macOS

1. 從 App Store 中下載安裝WireGuard, 你可以通過搜索或直接訪問...

WireGuard - Windows

1. 安裝 WireGuard 客戶端, 下載鏈接2. 獲取 WireGuard 伺服器信息...