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

    DNS queries trough ipsec

    Scheduled Pinned Locked Moved IPsec
    3 Posts 2 Posters 414 Views
    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.
    • N
      nikkopegmail.com
      last edited by

      Hi.

      I have a configuration where "local" dns is behind an ipsec tunnel.
      So the clients asks names from a dns server which is located in headquarter premises over the ipsec and this works fine.
      However - there's a lot of queries so I would like to set the netgate as resolver.

      How could I redirect the DNS queries coming from Netgate it self to go out trough the ipsec tunnel, since as default they are going out trough wan.

      Thanks in advance.

      /br, pete

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by

        maybe this could be of help
        https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/accessing-firewall-services-over-ipsec-vpns.html
        https://forum.netgate.com/topic/103395/dns-server-domain-override-over-ipsec-vpn-not-working

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • N
          nikkopegmail.com
          last edited by

          Thanks Manuel !

          This was just what I was looking for.
          At least, when tried from the firewall, it worked (127.0.0.1 and LAN gw answered after the change). I will visit the customer and double check it from the workstation but pretty sure that this was the solution.

          Appreciate Your help.

          / best regards, pete

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.