DNS RESOLVER + PfBlockerNG for all the interfaces



  • Hello,

    I'm new to this world of network and now I'm having an issue with I think is DNS Resolver.

    First of all I will explain my setup:

    ISP -WAN- Pfsense - LAN - all hosts
    - NordVPN Client - 1st rule to aliases group (some hosts with NordVPN gateway)
    - OpenVPN server
    - DMZ - one host (different subnet)

    What I want is to all of this interfaces pass through pfblockerNG and to resolve Quad9 DNS server

    This is my DNS Resolver 1st page (tell me if you need to see other settings):
    33827df2-4428-4d5c-b5a5-586f8c18ee4c-image.png

    NAT - OUTBOUND:
    ecaef246-3e28-4eb6-8779-96a96e6a4d71-image.png

    Rules - LAN:
    56c40e1c-dfe3-442c-9391-94ec71cab7ed-image.png

    PfblockerNG:

    225b76a9-9e91-4ab2-9a45-6d8b11e077ae-image.png

    General setup:
    53aa7e13-e588-4c2f-8efa-2ba035cbf2c8-image.png

    Can you help me to find what is wrong?
    When I do a leaktest from an host without VPN gateway I got Google DNS, with gateway is with the VPN DNS.
    when in the Openserver (pfsense server) dns from my 4G ISP.

    Thank you for your help


  • Netgate Administrator

    You don't have Google DNS defined anywhere there so that client may be using it directly.

    You should add a firewall rule above the VPN gateway rule to allow client to reach the pfSense LAN IP on port 53 to access Unbound.

    The OpenVPN server can be configured to hand a DNS server to the clients. It should probably be the local tunnel IP so that they use Unbound.

    Steve


Log in to reply