Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    DNS forwarder over IPSec VPN tunnel

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 9.5k 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.
    • M
      meggenberger
      last edited by

      Hi there.

      I'm runnng pfsense 1.2-release at home and have setup a VPN (IPSec) connection to my work network successfully. I can ping all hosts in the work network from my client. Now I'd like to use the hostnames at work to connect. I tested a dig from a client at home to the name server at work. That worked.
      I then create an entry called office.zz with the dns server ip 172.30.129.10 in the dns forwarder page as a entire domain forwarding. This doesn't seem to work. The logs tell me that for this domain the work dns server will be used:

      dnsmasq[2993]: using nameserver 172.30.129.10#53 for domain office.zz

      but I cannot resolve any hostname in office.zz. When I login to the shell of my pfsense I try to ping 172.30.129.10. This does not work, although from a client in my home lan it works. Anyone sees a problem?

      My setup:
      Home network:  192.168.11.0/24
      pfsense LAN: 192.168.11.1/24
      pfsense WAN: DHCP (CableProvider)

      Office network: 172.30.129.0/24
      Office name server: 172.30.129.10

      VPN is up and running. I can connect, ping, rdp, ssh to all hosts in the office network but IP addresses only. No dns names.

      Regards,
      Marc

      1 Reply Last reply
      Reply Quote 0
      • B
        Bern
        last edited by

        Have you set up a static route on your pfSense machine to your office's LAN?

        IIRC you have to do this with IPSec tunnels. Route it through the LAN interface of pfSense.

        1 Reply Last reply
        Reply Quote 0
        • M
          meggenberger
          last edited by

          Thats it. That solved the issue.
          Thank you very much.

          Regards,
          Marc

          @Bern:

          Have you set up a static route on your pfSense machine to your office's LAN?

          IIRC you have to do this with IPSec tunnels. Route it through the LAN interface of pfSense.

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy