Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    OpenVPN + Pi-Hole

    DHCP and DNS
    1
    1
    550
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jacopx last edited by

      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!  ;)

      Great Wall (pfSense 2.4.3)
      Asrock H110M-ITX || Intel® Pentium G4400T || Crucial 4GB DDR4 || HP NC360T || CoolerMaster Elite 110
      Bunker (FreeNAS 11.1-U4)
      Supermicro X9SRA || Intel® Xeon® E5-2670 SR0KX 2.60Ghz  || Kingstone _DDR3**-**_16GB ECC || Antec One

      WAN: Vodafone FTTH (D:934mbps - U:195mbps) ~ Ping: 7ms

      1 Reply Last reply Reply Quote 0
      • First post
        Last post