WireGuard產生器
VPN.CONF
線上產生並檢查生產級WireGuard規則與標準wg0.conf記錄。
輸入輸出範例
WireGuard wg-quick(8)輸入
[Interface]
Address = 10.66.0.1/24, fd42:42:42::1/64
ListenPort = 51820
PrivateKey = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
MTU = 1420
[Peer]
PublicKey = BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=
AllowedIPs = 10.66.0.2/32, fd42:42:42::2/128
Endpoint = vpn.example.net:51820
...輸出
# /etc/wireguard/wg0.conf (chmod 600)
[Interface]
Address = 10.66.0.1/24, fd42:42:42::1/64
ListenPort = 51820
PrivateKey = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
MTU = 1420
[Peer] # Peer #1
PublicKey = BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=
AllowedIPs = 10.66.0.2/32, fd42:42:42::2/128
...技術架構
零上傳本地引擎
嚴格於瀏覽器記憶體內處理WireGuard,憑證、金鑰與設定絕不離開裝置。
符合RFC與POSIX標準
採用精準大整數子網運算與ASN.1解析,輸出標準wg0.conf。
可重現維運輸出
產生可直接用於DNS區域、Nginx、Docker、systemd與CI的wg0.conf。
原生即時執行
零外部相依純腳本與瀏覽器Web Crypto引擎,極速回應。
如何使用WireGuard產生器
- 1在左側編輯器貼上WireGuard內容或直接開啟本地設定檔。
- 2在上方工具列調整輸出格式、雜湊演算法或縮排選項。
- 3在右側檢視即時wg0.conf輸出,並一鍵複製或下載。
常見問題
我的WireGuard設定或憑證會上傳到伺服器嗎?
不會。所有計算、解析與驗證皆於瀏覽器本地記憶體執行,資料絕不外洩。
WireGuard產生器遵循哪些技術規範?
WireGuard產生器依循最新RFC與POSIX規範處理WireGuard,產生可直接上線的wg0.conf輸出。
可以將輸出直接傳給其他工具嗎?
可以。點擊編輯器上方的下一步按鈕即可將目前wg0.conf結果傳入其他NetFmt工具。