My goal is to route specific hosts over a VPN connection. Within the “Clients” section of OpenVPN I established a connection to Windscribe VPN. I have Outbound NAT configured, Firewall rules configured, and DNS over TLS configured. The issue I’m having is DNS won’t resolve when the host is using OPNsense as the server. If I manually set 1.1.1.1 everything works fine. I don’t want to set 1.1.1.1 within DHCP because non-VPN routed hosts will bypass OPNsense and won’t use DNS over TLS.
I’ve been watching videos and struggling with this for a couple days. I’m out of ideas. Nothing I’ve seen or read has talked about DNS resolution. I’m not sure how to get those hosts to resolve DNS without impacting the non-VPN hosts. Any help would be appreciated.