this post was submitted on 17 Oct 2023
1 points (60.0% liked)

Linux

5348 readers
239 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 

I've set up WireGuard on a VPS.

A client on Linux desktop works with no issues.

The one on an android phone too, but not completely. Namely, TX and RX get updated, "handshake" and "last connected" with a phone on a server gets updated too, as well as on a phone itself. However, I can't open any single website.

However, Telegram, for instance, works well. Another android app too, it appears. But all the rest of the apps don't, not do the Firefox and Chrome.

What's the matter?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

This sounds like the Wireguard client can't find a DNS server. Telegram and the other working apps either have the necessary IP addresses cached or built-in. Anything that needs DNS fails.

Does your DNS server accept request from the Wireguard network? Or do you have NAT correct on your Wireguard server?

Insert meme :ItsAlwaysDNS:

[–] fallenpixel 1 points 1 year ago

This. I had to manually set my DNS server in the configuration for the wireguard client for it to work. A test I like doing is browsing to my router's configuration address to test that IP traffic is working.

[–] CameronDev 1 points 1 year ago

You may want to check if there are MTU issues, i had a similar issue with a wireguard vpn that had its MTU set incorrectly. Most things would work, but stuff failed intermittently.