Hello everyone,
I’ve recently set up a PiVPN using Wireguard, and generated profiles for my families phones. Everything worked without an issue, everyone can reach all services and the internet. Now, I wanted to add the VPN to my two EOS machines, so I created new profiles for them - but they don’t work. I cannot reach internal or external services correctly. I did sudo systemctl stop firewalld.service
as a test, but it didn’t help either.
And here is the weird part: I can reach all services, I can ping them:
$ ping pontus
PING pontus (192.168.178.3) 56(84) bytes of data.
64 bytes from pontus.fritz.box (192.168.178.3): icmp_seq=1 ttl=63 time=15.9 ms
64 bytes from pontus.fritz.box (192.168.178.3): icmp_seq=2 ttl=63 time=15.8 ms
and external services too:
ping google.com
PING google.com (142.250.181.238) 56(84) bytes of data.
64 bytes from fra16s56-in-f14.1e100.net (142.250.181.238): icmp_seq=1 ttl=118 time=26.5 ms
64 bytes from fra16s56-in-f14.1e100.net (142.250.181.238): icmp_seq=2 ttl=118 time=26.2 ms
But for everything else, the internet connection is just too…, slow? I am unsure what is going on. I cannot ssh pontus
(no output) or visit webservices hosted on pontus, the browser times out. Here is some troubleshooting output that might help you (all with VPN enabled):
$ ip route
default via 192.168.1.1 dev enp34s0 proto dhcp src 192.168.1.107 metric 100
10.186.15.0/24 dev zuhause proto kernel scope link src 10.186.15.6 metric 50 // The VPN
192.168.1.0/24 dev enp34s0 proto kernel scope link src 192.168.1.107 metric 100
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.178.1 // The VPN DNS server (Fritzbox)
nameserver 192.168.1.1
nameserver fe80::1%enp34s0
$ nslookup pontus
Server: 192.168.178.1
Address: 192.168.178.1#53
Name: pontus
Address: 192.168.178.3
cat zuhause.conf
[Interface]
PrivateKey = redacted
Address = 10.186.15.6/24,fd11:5ee:bad:c0de::aba:f06/64
DNS = 192.168.178.1
[Peer]
PublicKey = redacted
PresharedKey = redacted
Endpoint = DNS of target network:51820
AllowedIPs = 0.0.0.0/0, ::0/0
Once again, please keep in mind, that all phones connect and load without an issue. Your help is greatly appreciated, thanks a lot!