RighteousPy
Occasional Visitor
Hoping there may be some gurus that could assist. First and foremost wanted to thank Merlin and the associated members of this great community for their scripts (Diversion, Yazfi, Unbound etc)!
I have the basics down but looking to do something a little more 'complex' and have been running into a brick wall for the last few days. What I'm trying to achieve is the following:
1. VPN Client running on 192.168.1.0/24 for select devices (no DNS Leaks) - working
2. Guest Network Wifi setup for my IoT devices (192.168.5.x) - this is easily solved with Yazfi (not running through the VPN) - working
3. A PiHole running for those IoT (Static IP 192.168.1.3, excluded from VPN tunnel and this is set to Force DNS on the Guest Wifi) - working
4. A PiHole for just the VPN clients, so they can block Ads (so as to avoid DNS Leaks) - not working
Some background - at the moment my RPi is setup using Docker, and one Container for PiHole. It's using the IP of the Host (Eth0 - 192.168.1.5). This works wonderfully for non-VPN clients setup by:
Issue is I'm unsure how to get a Docker Container to have the 192.168.5.x address range as the RPi only has Eth0. I've looked into macvlan and ipvlan through Docker but won't it still have issues as the host is using Eth0 (and as such the 192.168.1.x range?). I can't do VLANs because I believe ASUS/Merlin don't support it. Obviously without buying another physical RPi
Is there something I'm missing in using one PiHole for both sets of devices - I haven't found anything online to allow me to split certain devices to certain Upstream servers or punch it to the Router to handle. Has anyone had any luck on how to best make the above work?
Thanks!
-RPy
I have the basics down but looking to do something a little more 'complex' and have been running into a brick wall for the last few days. What I'm trying to achieve is the following:
1. VPN Client running on 192.168.1.0/24 for select devices (no DNS Leaks) - working
2. Guest Network Wifi setup for my IoT devices (192.168.5.x) - this is easily solved with Yazfi (not running through the VPN) - working
3. A PiHole running for those IoT (Static IP 192.168.1.3, excluded from VPN tunnel and this is set to Force DNS on the Guest Wifi) - working
4. A PiHole for just the VPN clients, so they can block Ads (so as to avoid DNS Leaks) - not working
Some background - at the moment my RPi is setup using Docker, and one Container for PiHole. It's using the IP of the Host (Eth0 - 192.168.1.5). This works wonderfully for non-VPN clients setup by:
- Excluded from the VPN Tunnel
- Static IP - 192.168.1.5
- Set to LAN DNS1
- DNSFilter is set to Router
- DNSFilter is excluding the RPi
- On PiHole, the Upstream server is set to 192.168.1.1#53 (my Router)
Issue is I'm unsure how to get a Docker Container to have the 192.168.5.x address range as the RPi only has Eth0. I've looked into macvlan and ipvlan through Docker but won't it still have issues as the host is using Eth0 (and as such the 192.168.1.x range?). I can't do VLANs because I believe ASUS/Merlin don't support it. Obviously without buying another physical RPi
Is there something I'm missing in using one PiHole for both sets of devices - I haven't found anything online to allow me to split certain devices to certain Upstream servers or punch it to the Router to handle. Has anyone had any luck on how to best make the above work?
Thanks!
-RPy