No internet access when wireguard active purevpn

Hello,

I just can’t get a connection with wireguard.

my config is this

[Interface]

PrivateKey = KEY

Address = 172.18.82.242/32

DNS = 138.199.55.2, 138.199.55.4

[Peer]

PublicKey = KEY

AllowedIPs = 0.0.0.0/0

Endpoint = sx060201-wg.pointtoserver.com:51820

PersistentKeepalive = 21

as soon as i activate the connection in the wireguard client, i no longer have any internet (windows also shows that no connection is available)

AllowedIPs says that all traffic should be sent/received from my pc via wireguard.

what am I doing wrong?

Define “can’t get a connection”.

% ping -c1 8.8.8.8
% ping -c1 google.com

do you get a handshake?

UDP 51820 open?
try DNS 1.1.1.1

I have no internet connection at all as soon as I have activated wireguard, the ping command then has a timeout.also in windows 11 itshows as if it is not connected to any network

cmd shows this when ping google, your command with -c1 not work.

C:\Windows\System32>ping google.comPing-Anforderung konnte Host “google.com” nicht finden.

Its received a few kb then not more…i already deleted the connection.

IDK i downloadet the same config again, import and its worked now.

Its shown on https://whatismyipaddress.com/ my vpn ip

thanks for response!!!

konnte Host “google.com” nicht finden

then it’s a DNS issue. Try ping without -c 1: ping 8.8.8.8

when wireguard deactivated it shows

Pin-Statistik für 8.8.8.8: Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),

when wireguard active it shows only timeout, because no internet connection

Dein Problem liegt hier:

AllowedIPs = 0.0.0.0/0

das heißt alle Daten gehen an den Server, wenn dieser keine Weiterleitung (DNS, IPv4 / IPv6 Forwarding) bleibt deine Anfrage am Server hängen und wird verworfen. Du brauchst einen DNS-Relay (unbound/bind9) auf dem Server und du musst mindestens ipv4_forward = 1 setzen, die entsprechende config kannst du googlen.

Englisch version:

Your Problem is the AllowedIPs = 0.0.0.0/0 parameter, your server needs to forward your request, which means you need a DNS realy and at least an ipv4 forwarding. consider installing unbound or bind9 as DNS relay server and activate forwarding. ipv4 at least, ipv6 would be recommenced.

Danke für deine Antwort!

Ich hab mir jetzt ne andere Verbindungs Konfiguration geladen von PureVPN, jetzt funktioniert es mit den Standart Einstellungen.

Ich glaube das Problem liegt hier an PureVPN Server oder?