OpenVPN + Pi-Hole



  • Buonasera a tutti!

    I have just build my first pfSense and it's working perfectly. I have also made everything for the OpenVPN connection. It's work but I can't use the DNS that I want…

    In my LAN I have my pfSense box that have, like DNS:
    127.0.0.1
    172.16.0.2 (My DNS with Pi-Hole)
    192.168.0.1 (DNS of WAN)

    What I want is to using from the outside my Pi-Hole. Which is the best configuration, that allows me to keep my client routing to the Raspberry for the querying?

    I have already try to add the classic:
    Code: [Select]
    push "dhcp-option DNS 172.16.0.2"
    in the serve VPN config but It's not work…

    The result of ping or dig to my raspberry are corrects and they're work. But If I try to change manually the DNS server my VPN goes down...

    Thanks!  ;)


Log in to reply