From c68c0935ae66b4f5fb8b20f07b8d232885b90b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9A=A1=EF=B8=8F2FakTor=E2=9A=A1=EF=B8=8F?= Date: Sat, 21 Dec 2024 19:23:15 +0000 Subject: [PATCH] GITBOOK-31: No subject --- bonus/system/wireguard-vpn.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/bonus/system/wireguard-vpn.md b/bonus/system/wireguard-vpn.md index ff8a06c..385e820 100644 --- a/bonus/system/wireguard-vpn.md +++ b/bonus/system/wireguard-vpn.md @@ -146,7 +146,7 @@ sudo nano /opt/freemyip/freemyip.sh {% hint style="info" %} -Replace **`""`** and **`""`** to the before created. Save and exit +Replace **`""`** and **`""`** to the before created. Save and exit {% endhint %} Example of content: @@ -163,7 +163,7 @@ echo url="https://freemyip.com/update?token=c6f3c463d065aca81ebde774&domain=myfr sudo chmod 700 /opt/freemyip/freemyip.sh ``` -* Edit the crontab +* Edit the crontab ```sh sudo crontab -e @@ -300,9 +300,9 @@ Take note and backup this public key in your preferred password manager (Bitward sudo nano /etc/wireguard/wg0.conf ``` -* Write the following content and replace only **``** with the data previously obtained. **``** will be replaced later when we get the public key from our client, keep alert to replace it later in [part 2 of the server configuration](wireguard-vpn.md#server-configuration-part-2) +* Write the following content -
# RaMiX: Wireguard configuration
+
# RaMiX: WireGuard VPN server configuration
 # /etc/wireguard/wg0.conf
 
 ## Server configuration (RaMiX node)
@@ -313,7 +313,7 @@ ListenPort = 51820
 
{% hint style="info" %} -Replace **`""`** +Replace only **``** with the data previously obtained {% endhint %} * Enable autoboot on startup **(optional, but recommended)** @@ -390,7 +390,10 @@ sudo nano /etc/wireguard/wg0.conf * Write the following contents to the `wg0.conf` file -
## Client configuration
+
# RaMiX: WireGuard VPN client configuration
+# /etc/wireguard/wg0.conf
+
+## Client configuration
 [Interface]
 PrivateKey = <Your_Client_Private_Key>
 Address = 10.0.0.2/32
@@ -436,7 +439,7 @@ sudo nano /etc/wireguard/wg0.conf
 
 * Replace the existing **``** parameter with your one
 
-
# RaMiX: Wireguard configuration
+
# RaMiX: Wireguard server configuration
 # /etc/wireguard/wg0.conf
 
 ## Server configuration (RaMiX node)
@@ -621,7 +624,7 @@ Link to [Google Play Store](https://play.google.com/store/apps/details?id=com.wi
 5. Press on the **switch at the right** to activate the Wireguard tunnel. Press **OK** to accept the connection request
 
 {% hint style="info" %}
--> You could create a Wireguard VPN client connection manually from scratch filling in the form with the content of the "`wg0.conf`" configured on the [client configuration](wireguard-vpn.md#client-configuration-part-1) section. 
+-> You could create a Wireguard VPN client connection manually from scratch filling in the form with the content of the "`wg0.conf`" configured on the [client configuration](wireguard-vpn.md#client-configuration-part-1) section.
 
 -> Select **"CREATE FROM SCRATCH"** instead of "SCAN FROM QR CODE" on the second step, fill out the form, and hit on the diskette icon on the top right to save and follow the same steps from **4**
 {% endhint %}