From b163f23f2ef34256dcfead8675bd095cb5902385 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Thu, 9 Jul 2026 15:12:45 +0300 Subject: [PATCH] Update README.md --- README.md | 85 +++++++++++++++++++++++++++---------------------------- 1 file changed, 41 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index 62d0004..194bcf7 100644 --- a/README.md +++ b/README.md @@ -579,61 +579,58 @@ sudo ss -lun | grep 51820
Create Client Key -
-For Mobile Clients
- Android or iPhone - Resmi WireGuard uygulamasını yükle - Add Tunel(+) - Scan the QR code -
+ For Mobile Clients + + Resmi WireGuard uygulamasını yükle + Add Tunel(+) + Scan the QR code +
For Desktop Clients -
- Arch - sudo pacman -S wireguard-tools -
+
+ Arch + sudo pacman -S wireguard-tools +
-
- Debian/Ubuntu/Raspberry Pi OS - sudo apt install wireguard -
+
+ Debian/Ubuntu/Raspberry Pi OS + sudo apt install wireguard +
-
- Fedora - sudo dnf install wireguard-tools -
- - In your PC - sudo nano /etc/wireguard/wg0.conf - ``` - [Interface] - PrivateKey = DESKTOP_PRIVATE_KEY - Address = 10.8.0.3/24 - PreUp = ip route add VPS_IP/32 via 192.168.1.1 dev enp11s0 - PostDown = ip route del VPS_IP/32 via 192.168.1.1 dev enp11s0 +
+ Fedora + sudo dnf install wireguard-tools +
+ In your PC + sudo nano /etc/wireguard/wg0.conf + ``` + [Interface] + PrivateKey = DESKTOP_PRIVATE_KEY + Address = 10.8.0.3/24 + PreUp = ip route add VPS_IP/32 via 192.168.1.1 dev enp11s0 + PostDown = ip route del VPS_IP/32 via 192.168.1.1 dev enp11s0 - [Peer] - PublicKey = SERVER_PUBLIC_KEY - Endpoint = VPS_IP:51820 - AllowedIPs = 0.0.0.0/0 - PersistentKeepalive = 25 - ``` + [Peer] + PublicKey = SERVER_PUBLIC_KEY + Endpoint = VPS_IP:51820 + AllowedIPs = 0.0.0.0/0 + PersistentKeepalive = 25 + ``` + sudo chmod 600 /etc/wireguard/wg0.conf - sudo chmod 600 /etc/wireguard/wg0.conf + Open VPN -> sudo wg-quick up wg0 + Close VPN -> sudo wg-quick down wg0 + Status -> sudo wg - Open VPN -> sudo wg-quick up wg0 - Close VPN -> sudo wg-quick down wg0 - Status -> sudo wg + Otomatic Connect when Pc is opened -> sudo systemctl enable wg-quick@wg0 + Close that option -> sudo systemctl disable wg-quick@wg0 - Otomatic Connect when Pc is opened -> sudo systemctl enable wg-quick@wg0 - Close that option -> sudo systemctl disable wg-quick@wg0 - - If you get connection error delete 'DNS = 1.1.1.1' from your desktop.conf and try again - sudo wg-quick up wg0 -
+ If you get connection error delete 'DNS = 1.1.1.1' from your desktop.conf and try again + sudo wg-quick up wg0 +