Is this possible - DNS, DHCP, Split-Tunnel VPN, WiFi AP

What I’m looking for is the ability to have DHCP, DNS, and split-tunnel VPN. I have the VPN server setup, I just need to have PiHole (the "router" obviously) be able to connect to the OpenVPN server and use that when accessing the routes that the OpenVPN server utilizes - this is strictly IPs. Example being "23.44.56.124" would be routed through the OpenVPN connection.

As this is new to me, I'd say I'm asking if PiHole can ultimately...

1.) Be the DNS server

2.) Be the DHCP server

3.) Connect to OpenVPN server and use only the routes the VPN server specifies to route through it, all other traffic is through the ISP connection - split-tunnel VPN

4.) Side-benefit would be something like having it be a WiFi AP as well

Pihole is not a router. It is just 1) DNS Server and 2) DHCP Server. For 3+4 search the internet for how to configure your rasperry pi (?) as Access Point with VPN.

1 Like

it is possible. I have pihole with unbound and wireguard VPN on the same Ubuntu machine. You can configure wireguard VPN to use split-tunnel with ease.
PIVPN: Simplest way to setup a VPN

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