Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

Troubleshooting • Wireguard + PiHole - can't access internet on clients

$
0
0
Hi all. I spent entire day and still can't figure this out.

1. I install PiHole + unbound using

Code:

curl -sSL https://install.pi-hole.net | bashsudo apt install unbound
PiHole works as my own private DNS on the Pi just fine. It resolves hosts, I can access all services running on the Pi (Samba, qBittorrent, PiHole, CUPS etc)

2. I install Wireguard via

Code:

curl -L https://install.pivpn.io | bash
It all runs fine, I add client, it does connect to the Pi, I can access all services on the Pi, but not the internet sites on client computer. At the same time internet 100% works fine on the Pi.

Here's my server config:

Code:

[Interface]PrivateKey = ***Address = 10.14.188.1/24MTU = 1420ListenPort = 51820### begin Minisforum ###[Peer]PublicKey = ***PresharedKey = ***AllowedIPs = 10.14.188.2/32### end Minisforum ###

And here's my client config example:

Code:

[Interface]PrivateKey = ***Address = 10.14.188.2/24DNS = 10.14.188.1[Peer]PublicKey = ***PresharedKey = ***AllowedIPs = 0.0.0.0/0Endpoint = (my_ip):51820

So gotta be something with DNS forwarding, but I just can't figure it out. Any help is greatly appreciated - as always.

Statistics: Posted by in_sympathy — Wed Jan 28, 2026 11:12 pm



Viewing all articles
Browse latest Browse all 7995

Trending Articles