PiHole - OpenVPN (CLIENT) (DYN IP) - PI-ROUTER

Please follow the below template, it will help us to help you!

I configured my nanopc-t4 (running armbian) (raspberry pi 3 alternative, not going into details) as a wireless VPN router.
This is my setup:


This is working fine, all my wifi devices are connected with my wifi router and all traffic flows nice and smoothly through the vpn tunnel (note, 192.168.0.0 subnet not reachable for 192.168.1.0 subnet)

Expected Behaviour:

To install Pi-Hole on the same device (and to act as a DNS server for my wifi devices), all Pi-Hole traffic should go through the VPN tunnel as well.

Actual Behaviour:

I can't setup Pi-Hole, when asked for the gateway IP (the TUN device), this is (and should never be in my setup) static.

Does somebody have any idea how to solve this issue?

Solved!

You just have to configure the pihole to WLAN0 and its static ip 192.168.0.1 & router ip 192.168.0.1. Works like a charm.

KR

Can be closed :slight_smile:

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