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

    OpenVPN and DNS for Shared Folders on a Windows Server

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 613 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.
    • T
      Tact12
      last edited by

      Hello,
      We have a lot of clients who use shared folders off of Windows Server's and I cannot figure out how to have the mapped network drive show using the server dns name instead of its ip address through openvpn. Is it as simple as making a dns host override from MYSERVER01 to go to 192.168.xxx.xxx? Any and all help would be greatly appreciated as I just had to change everyone's mapped drives from DNS to IP on their laptops. :( It just doesn't look as nice.

      V 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance
        last edited by

        Your windows server is located over an OpenVPN tunnel? You want your clients to access that server over the OpenVPN tunnel? If your clients are using pfsense as their dns server than it’s a simple matter of creating a dns record. At that point make sure your clients can route over the tunnel and the appropriate firewall rules are created.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        T 1 Reply Last reply Reply Quote 0
        • T
          Tact12 @michmoor
          last edited by

          @michmoor The clients servers are on the LAN and the server does dns. They remote in over an openvpn tunnel and a firewall rule allows them into the LAN. They are doing split tunneling as they use webapps for their business and that traffic doesn't need routed over the vpn.

          1 Reply Last reply Reply Quote 0
          • V
            viragomann @Tact12
            last edited by

            @tact12
            You have to provide the DNS server in the OpenVPN settings to get it pushed to the clients.

            And since your client might be in another domain as the server they have to use the FQDN to access it. E.g. MYSERVER01.remote.domain

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