• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 629 Views 3 Watching
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 Offline
    Tact12
    last edited by Dec 7, 2022, 11:19 PM

    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 Dec 9, 2022, 3:20 PM Reply Quote 0
    • M Offline
      michmoor LAYER 8 Rebel Alliance
      last edited by Dec 7, 2022, 11:32 PM

      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 Dec 7, 2022, 11:53 PM Reply Quote 0
      • T Offline
        Tact12 @michmoor
        last edited by Dec 7, 2022, 11:53 PM

        @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 Offline
          viragomann @Tact12
          last edited by Dec 9, 2022, 3:20 PM

          @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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received