Changes for page Use Wireguard VPN in Dragino Gateways
Last modified by Xiaoye on 2024/04/19 19:52
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Use WireguardVPN in DraginoGateways1 +LoRaWAN Gateway version with Wireguard Support - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoye - Content
-
... ... @@ -1,32 +1,14 @@ 1 -(% class="wikigeneratedid" %) 2 -**Table of Contents:** 1 += How to configure Wireguard on the LPS8N/DLOS8N/LG308N = 3 3 4 -{{toc/}} 5 5 6 - 7 - 8 - 9 -= 1. What is Wireguard VPN? = 10 - 11 - 12 -= 2. Run WireGuard VPN in PC = 13 - 14 - 15 -= 3. Configure Wireguard VPN on Gatewaythe LPS8N/DLOS8N/LG308N = 16 - 17 - 18 -== 3.1 For LPS8N/DLOS8N/LG308N == 19 - 20 20 Due to the size of Wireguard packages. We didn't add it as a default feature of gateways. If the user wants to use Wireguard Please upgrade your gateway firmware with the special [[firmware>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/DLOS8/Firmware/Wireguard-firmware/]]. 21 21 6 +== **1. Configuration via command line** == 22 22 23 -=== 3.1.1Configurationviacommandline===8 +=== 1.1 Key Management === 24 24 25 - ==== 3.1.1.1 Key Management====10 +#Generate keys 26 26 27 - 28 -**#Generate keys** 29 - 30 30 (% class="box infomessage" %) 31 31 ((( 32 32 umask go= ... ... @@ -41,11 +41,14 @@ 41 41 [[image:image-20231110150147-1.png||height="82" width="566"]] 42 42 43 43 44 -=== =3.1.1.2 Firewall configuration ====26 +=== 1.2 Firewall configuration === 45 45 28 +((( 29 +#Configure firewall 30 +))) 46 46 47 47 ((( 48 - **#Configurefirewall**33 + 49 49 ))) 50 50 51 51 (% class="box infomessage" %) ... ... @@ -61,7 +61,7 @@ 61 61 62 62 63 63 ((( 64 - **#Reload firewall**49 +#Reload firewall 65 65 ))) 66 66 67 67 (% class="box infomessage" %) ... ... @@ -70,13 +70,13 @@ 70 70 ))) 71 71 72 72 73 -=== =3.1.1.3 Network configuration ====58 +=== 1.3. Network configuration === 74 74 75 - 76 76 ((( 77 - **#Configure network**61 +#Configure network 78 78 ))) 79 79 64 + 80 80 (% class="box infomessage" %) 81 81 ((( 82 82 uci -q delete network.vpn ... ... @@ -90,7 +90,7 @@ 90 90 91 91 92 92 ((( 93 - **#Add VPN peers**78 +#Add VPN peers 94 94 ))) 95 95 96 96 (% class="box infomessage" %) ... ... @@ -112,7 +112,7 @@ 112 112 113 113 114 114 ((( 115 - **#reload network service**100 +#reload network service 116 116 ))) 117 117 118 118 (% class="box infomessage" %)