Update README.md

This commit is contained in:
n3kit91 2024-11-28 17:55:43 +03:00 committed by GitHub
parent 2a5fc21b03
commit 1b37beb68d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,8 @@
<!-- README.md -->
# WireGuard Setup Guide for Arch Linux # WireGuard Setup Guide for Arch Linux
## Overview This guide provides a streamlined, step-by-step process to set up a secure WireGuard VPN on Arch Linux. It ensures proper configuration of public and private keys to avoid common issues related to authentication and traffic routing.
This guide provides a streamlined, step-by-step process to set up a secure WireGuard VPN on Arch Linux. It also explains the common pitfalls to avoid, ensuring a smooth and functional VPN configuration.
## Table of Contents ## Table of Contents
@ -38,6 +38,14 @@ This guide provides a streamlined, step-by-step process to set up a secure WireG
sudo pacman -S wireguard-tools sudo pacman -S wireguard-tools
``` ```
3. **Install Nano Editor (Optional but Recommended):**
Nano is a user-friendly text editor that simplifies editing configuration files.
```bash
sudo pacman -S nano
```
## Key Generation ## Key Generation
### On Server ### On Server
@ -284,7 +292,7 @@ This guide provides a streamlined, step-by-step process to set up a secure WireG
**Solution:** **Solution:**
- Enable IP forwarding permanently. - Enable IP forwarding permanently.
```bash ```bash
echo "net.ipv4.ip_forward = 1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf echo "net.ipv4.ip_forward = 1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf
sudo sysctl -p /etc/sysctl.d/99-sysctl.conf sudo sysctl -p /etc/sysctl.d/99-sysctl.conf