Article 6PEWH Debug Wireguard vpn as a client

Debug Wireguard vpn as a client

by
Sefid par
from LinuxQuestions.org on (#6PEWH)
We need VPN to connect to full internet from Iran. I have added a working VPN configuration for wireguard which works on Mobile phone and worked on other Linux distro.
Now when I tried to activate the connection, it goes up but, I can not open any websites.
The configuration looks like the following:

Code:[Interface]
Address = 10.7.0.3/32
DNS = 8.8.8.8, 8.8.4.4
MTU = 1300
PrivateKey = <PrivateKey>

[Peer]
AllowedIPs = 0.0.0.0/0
Endpoint = <domain>:<port>
PersistentKeepalive = 25
PreSharedKey = <PreSharedKey>
PublicKey = <PublicKey>I tried adding as a VPN configuration in NetworkManager and it could connect. I can see some bytes exchanging in wireless connection popup.
I also tried to copy the connection to /etc/wireguard/ and use Code:wg-quick up connection. It was working the same as when I use NetworkManager GUI. Some bytes exchange but can not open any website.

I can not ping the 8.8.8.8 (100% packet loss)

Slackware version: 15.0+

How can I debug it and open websites?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments