49 lines
1.2 KiB
Markdown
49 lines
1.2 KiB
Markdown
# WireGuard Windows Config - Beispiel
|
|
|
|
## Aktuelle Config (OHNE DNS)
|
|
|
|
```ini
|
|
[Interface]
|
|
PrivateKey = sE81MBr64fP8YBDlhRWngwHHmlrVzIhs9NT7Dh7XbVs=
|
|
Address = 10.8.0.7/24
|
|
DNS = 10.8.0.1 # ← DIESE ZEILE FEHLT WARSCHHEINLICH!
|
|
|
|
[Peer]
|
|
PublicKey = hT3OCWZ6ElX79YdAdexSsZnbWLzRM/5zk+XNEBUaS8=
|
|
AllowedIPs = 10.8.0.0/24
|
|
Endpoint = 94.16.110.151:51820
|
|
PersistentKeepalive = 25
|
|
```
|
|
|
|
## Korrekte Config (MIT DNS)
|
|
|
|
```ini
|
|
[Interface]
|
|
PrivateKey = sE81MBr64fP8YBDlhRWngwHHmlrVzIhs9NT7Dh7XbVs=
|
|
Address = 10.8.0.7/24
|
|
DNS = 10.8.0.1 # ← DIESE ZEILE MUSS DA SEIN!
|
|
|
|
[Peer]
|
|
PublicKey = hT3OCWZ6ElX79YdAdexSsZnbWLzRM/5zk+XNEBUaS8=
|
|
AllowedIPs = 10.8.0.0/24
|
|
Endpoint = 94.16.110.151:51820
|
|
PersistentKeepalive = 25
|
|
```
|
|
|
|
## Was zu tun ist
|
|
|
|
1. **Öffne deine WireGuard-Config-Datei**
|
|
2. **Füge unter `[Interface]` hinzu:** `DNS = 10.8.0.1`
|
|
3. **Speichere** die Datei
|
|
4. **Starte WireGuard neu** (trenne und verbinde VPN neu)
|
|
|
|
## Schnell-Check
|
|
|
|
Falls du nicht sicher bist, ob DNS bereits gesetzt ist:
|
|
|
|
1. Öffne WireGuard GUI
|
|
2. Rechtsklick auf deine Verbindung → "Edit"
|
|
3. Prüfe ob `DNS = 10.8.0.1` unter `[Interface]` steht
|
|
4. Falls nicht → hinzufügen
|
|
5. Speichern und neu verbinden
|