From a7df5d87e60c7ad5cb6789e9b983507adfda9e2a Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Mon, 13 Jul 2026 01:59:12 +0300 Subject: [PATCH] Update README.md --- README.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce06605..43caa01 100644 --- a/README.md +++ b/README.md @@ -961,7 +961,43 @@ Automatic DNS configuration depends on the Linux distribution and the DNS manage
Arch Linux Delete DNS = 10.8.0.1 - sudo wg-quick up wg0 + +Eski bağlantı varsa sil +nmcli connection delete wg0 + +WireGuard yapılandırmasını içe aktar +nmcli connection import type wireguard file /etc/wireguard/wg0.conf + +DNS'i NetworkManager yönetsin +nmcli connection show + +``` +nmcli connection modify wg0 ipv4.ignore-auto-dns yes +nmcli connection modify wg0 ipv4.dns "10.8.0.1" +``` + +IPV6 +``` +nmcli connection modify wg0 ipv6.ignore-auto-dns yes +nmcli connection modify wg0 ipv6.dns "::" +``` + +No IPV6 +``` +nmcli connection modify wg0 ipv6.method disabled +``` + + +Open VPN -> nmcli connection up wg0 +Close VPN -> nmcli connection down wg0 + +Test(PC)> +cat /etc/resolv.conf +>Open VPN +>Should see 10.8.0.1 + +>Closed VPN +>Should just see 192.168.1.1