Navigation

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

    Use remote DNS servers when connected via OpenVPN

    OpenVPN
    2
    3
    4061
    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.
    • X
      Xefan last edited by

      I have succesfully set up OpenVPN and now when I connect to a remote network (which has DNS servers with a namespace) I cant't resolve any names in this network. When I am connected to the Internet, my ISP gives me it's DNS via DHCP, but how do a access DNS namespace when I'm connected to this remote network?

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

        You set the relevant DHCP option in the OpenVPN server config (DHCP-Opt.: DNS-Server).

        If this is a site-to-site, I've been able to do it by using DNS Forwarder on my LAN, and overriding domain.local so that it uses the remote DNS server for that domain, but it doesn't sound like this is what you want. If you are using site-to-site let me know and I'll try to be more detailed.

        1 Reply Last reply Reply Quote 0
        • X
          Xefan last edited by

          No, this is a regular client to server VPN. I've set up DNS server manually and all worked. Now I wonder how do I set up a default gateway for VPN connection…

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

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy