PiHole and PiVPN not working together

I have used a Pihole for a long time and it worked fin, but now I tried to install PiVPN for some reasons and they do not work in combination. I checked a lot of stuff in the Internet about similar problems, but none of them fixed my problem.

My PiHole is a standard installation on the newest version and my setup looks like this:

BLOCKING_ENABLED=true
WEBPASSWORD=...
DHCP_ACTIVE=false
DNSSEC=false
REV_SERVER=true
REV_SERVER_CIDR=192.168.178.0/24
REV_SERVER_TARGET=192.168.178.1
REV_SERVER_DOMAIN=local
IPV4_ADDRESS=192.168.178.58/24
IPV6_ADDRESS=
PIHOLE_INTERFACE=eth0
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=false
DNS_BOGUS_PRIV=false
DNSMASQ_LISTENING=all
PIHOLE_DNS_1=9.9.9.9
PIHOLE_DNS_2=149.112.112.112

My config file /etc/pivpn/wireguard/setupVars.conf looks like that:

PLAT=Raspbian
OSCN=buster
USING_UFW=0
pivpnforceipv6route=1
IPv4dev=eth0
IPv4addr=192.168.178.58/24
IPv4gw=192.168.178.1
install_user=pi
install_home=/home/pi
VPN=wireguard
pivpnPORT=51820
#pivpnDNS1=
#pivpnDNS2=
pivpnDNS1=192.168.178.58
pivpnHOST=...
INPUT_CHAIN_EDITED=0
FORWARD_CHAIN_EDITED=0
INPUT_CHAIN_EDITEDv6=
FORWARD_CHAIN_EDITEDv6=
pivpnPROTO=udp
pivpnMTU=1420
pivpnDEV=wg0
pivpnNET=...
subnetClass=24
pivpnenableipv6=0
ALLOWED_IPS="0.0.0.0/0, ::0/0"
UNATTUPG=1
INSTALLED_PACKAGES=(grepcidr iptables-persistent wireguard-tools qrencode unattended-upgrades)

51820 via UDP on the router is open and works. 192.168.178.58 is the static internal IP address of the raspberry pi.
/etc/pihole/pihole-FTL.conf looks like that:

PRIVACYLEVEL=0
DELAY_STARTUP=5
RATE_LIMIT=1000/10

Actual Behaviour:

So if I connect to the VPN with any device, like iOS or a Ubuntu computer, it all says it is connected, but then refuses to open any websites and similar things.

Is there any clever idea about what I can do about it?

Thanks in advance

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.