I am able to access the internet via pihole's dns sinkhole on my local lan and when connected via openvpn.
I am able to use pihole normally on my lan and connect to the vpn, however when connected via openvpn, I can't access the internet or other devices on my network, only the raspberry pi running pihole and openvpn via ssh and the web panel.
I followed the official pihole and openvpn setup guide. Pihole is set to listen on all interfaces and permit all origins and port UDP 1194 is forwarded to 192.168.1.2. It probably isn't relevant, but the ethernet interface pihole is listening on is called enxb827eb887102 instead of eth0.
I seem to be having the same issue as the person here: Openvpn + pihole : LAN works, VPN connects but no connection and I tried to use their solution, however, I'm not using ip tables, so it doesn't work for me.
This is my /etc/openvpn/server.conf and /etc/openvpn/server/server.conf
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 ipv6 bypass-dhcp"
push "route 192.168.1.0 255.255.255.0"
push "dhcp-option DNS 192.168.1.2"
keepalive 10 120
I can't figure out why it won't work, any help would be greatly appreciated.