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

    VPN DNS QUESTION

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 541 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.
    • W
      wichinbb
      last edited by

      Hi All,
      Would someone give me some pointers on the following?
      I have two VPN client connections through my VPN provider to two different locations.
      I have set up Aliases for devices that I want on each VPN and aliases for the DNS servers. The connection work great but it seems that the DNS for one VPN is being used for both VPN connections and even my WAN connection. I have created the following port forward rules:

      0_1548377281797_8b28cb23-fa5b-485b-91a7-02226c312328-image.png

      So what I am getting is the DNS from the DNS_QC for the DNS_NY and the DNS_WAN.
      Even though I am specifying the redirect IPs of the DNS servers in the Aliases, is it possible for each connection to have its own DNS?
      Am I missing a block rule for each so that it does not go into the other? If yes, can you give me an example of how to go about it?
      here is my NAT Outbound rule and they are set to manual:

      0_1548377373705_f66412b6-6067-4eb8-b96b-6ef93414650b-image.png

      Here are my LAN Rules:

      0_1548377407069_20a81441-9a7f-411c-b6e3-3f668b25d698-image.png

      I have the DNS resolver enabled and under network interfaces, I have only the LAN and local host highlighted. Under outgoing network interfaces, I only have the two VPN connections selected. DNSSEC is unchecked as well as enable forward mode.
      Under general set up and DNS server settings, I have no DNS servers defined at all. The only option checked is Do not use the DNS Forwarder/DNS Resolver as a DNS server for the firewall.

      If you can give me some advice and if I what I would like to have done is doable, please let me know.
      Thanks!

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

        how is the DNS resolver configured?

        W 1 Reply Last reply Reply Quote 0
        • W
          wichinbb @bcruze
          last edited by

          @bcruze
          Hi bcruze - thanks for the reply.
          Do you need a pic of the DNS resolver?
          I have it like I mentioned on my original post.
          0_1548428994944_0aaaf54b-aca4-4091-8ff1-8d451cb714eb-image.png
          0_1548429028735_32b56c59-9787-4835-a4df-ba3a6265353d-image.png

          Local host is also highlighted in the network interfaces.

          0_1548429099534_52184be5-63ee-47dc-91c4-407bdb483cc6-image.png
          You see here the two VPN interfaces highlighted.
          Nothing else is checked on this page and custom options box is blank.

          On the advanced settings:
          The only options checked are:
          0_1548429216252_6a8e50ea-458f-4692-a906-c603f66c47c6-image.png
          0_1548429239704_a6462338-cb53-4c56-890d-8e0fdc09963c-image.png
          Everything else is set at default values.

          Is this helpful?
          Thanks again!

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