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

    VPN and routing such that I can resolve local names on remote location

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 597 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.
    • P
      pfsenseboonie
      last edited by

      Hi all,

      I have a setup like this.

      local (DNS) -> vpn -> Remote (DNS)

      This is what I am trying to accomplish.  I want to send only vpn traffic thru the vpn and other traffic over their default routes.

      I want to be able to reslove local names on remote site via the dns at the remote site, and all other names via my local dns.

      I have accomplished this by letting the vpn set my dns server to the vpn on far side of vpn and the telling the vpn client which specific routes to route over the vpn.  My problem with this is privacy.
      Since all DNS goes to remote DNS so they can see all my queries.

      I am using vnpc to connect to vpn so i have thru this control over what traffic/routes to send over vpn but no control over what queries to send to DNS as its all or nothing.

      If I use my local DNS then I can't resolve local names on remote location, only names on their WAN which have public IPs.

      What can I do to accomplish my stated goal.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • J
        jonallport
        last edited by

        How do the domain suffixes look on the local and remote sites?

        e.g. host1.localdomain.net / host-b.remote.com

        Could you use domain search suffixes & DNS forwarder / referers?

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