Update README.md

This commit is contained in:
FURK4NGG
2026-07-13 01:59:12 +03:00
committed by GitHub
parent 7fbae0cb94
commit a7df5d87e6
+37 -1
View File
@@ -961,7 +961,43 @@ Automatic DNS configuration depends on the Linux distribution and the DNS manage
<details> <details>
<summary>Arch Linux</summary> <summary>Arch Linux</summary>
Delete DNS = 10.8.0.1 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
</details> </details>