linux:openwrt:wireguard

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:openwrt:wireguard [2022/10/03 03:58] ともやんlinux:openwrt:wireguard [2022/10/04 06:02] (現在) – [WireGuard] ともやん
行 1: 行 1:
-====== WireGuard ======+====== WireGuard - OpenWrt ======
 公式ドキュメント: [[https://openwrt.org/docs/guide-user/services/vpn/wireguard/basics|[OpenWrt Wiki] WireGuard basics]]\\ 公式ドキュメント: [[https://openwrt.org/docs/guide-user/services/vpn/wireguard/basics|[OpenWrt Wiki] WireGuard basics]]\\
  
行 70: 行 70:
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
 +
 +===== キーを生成 =====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<b class=GRN>#</b> <b class=HIY>wg</b> genkey | <b class=HIY>tee</b> wg.key | <b class=HIY>wg</b> pubkey > wg.pub
 +<b class=GRN>#</b> <b class=HIY>ll</b>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +drwxr-xr-x    1 root     root           288 Oct  3 04:03 <b class=HIB>.</b>/
 +drwxr-xr-x    1 root     root           480 Sep 27 05:54 <b class=HIB>..</b>/
 +-rw-r--r--    1 root     root            45 Oct  3 04:03 wg.key
 +-rw-r--r--    1 root     root            45 Oct  3 04:03 wg.pub
 +</pre></html></WRAP>
 +</WRAP>
 +
 +===== サービス再起動 =====
 +**LuCI** → **System** → **Startup** → **Initscripts** に移動し、**network** → **[Restart]** をクリックする🤔\\
 +
 +===== インターフェースの設定 =====
 +新しい WireGuard インターフェイスを作成するには、**LuCI** → **Network** → **Interfaces** に移動し、**[Add new interface…]** をクリック **Protocol** ドロップダウン メニューから **WireGuard VPN** を選択する🤤\\
  
  • linux/openwrt/wireguard.1664737126.txt.gz
  • 最終更新: 2022/10/03 03:58
  • by ともやん