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

    Allow VPN client to access remote PCs by name, not FQDN

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 4 Posters 865 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.
    • M
      Mattaton
      last edited by

      I have looked at so many threads and articles and I just cannot figure out how to make this work!

      I can access remote PCs via IP and FQDN (<pcname>.<domainname>), but not just by <pcname> the way I can on the local network.

      Is there some checkbox somewhere I am missing?

      Thanks!

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • noplanN
        noplan
        last edited by

        Not looked into it but have you tried host / alias setting

        1 Reply Last reply Reply Quote 0
        • Bob.DigB
          Bob.Dig LAYER 8 @Mattaton
          last edited by

          @mattaton Short answer, always use FQDN.

          M 2 Replies Last reply Reply Quote 0
          • M
            Meserias
            last edited by

            maybe you what to push to connected clients an WINS IP server (old stuff but still functional) that it's keeping an inventory with NetBIOS name (pcname as you say).
            So in this way remote clients can ask local LAN DNS server name but also WINS to retrieve NetBIOS name mapping to an IP....
            Where ever the findings, please post who you resolved in the end.

            1 Reply Last reply Reply Quote 0
            • M
              Mattaton @Bob.Dig
              last edited by

              @bob-dig So this is typical behavior with OpenVPN via pfSense?
              I have backup operations that run on my PC to another local PC (when it's local). I was hoping to be able to take that PC on the road with me, connect to the VPN, and then let the backup run to the same local PC name through the tunnel. If I have to use FQDN, that's not going to work. Unless, of course, I change all my paths over to FQDN, which I'm not sure work in my local network environment.

              @Meserias I've hunted for quite a while. If I can't find a solution by posting on the Netgate forum, I may be out of luck!

              1 Reply Last reply Reply Quote 0
              • M
                Mattaton @Bob.Dig
                last edited by

                @bob-dig So, FQDN unsurprisingly works locally, but I'm still reluctant to switch everything over to it.

                1 Reply Last reply Reply Quote 0
                • M
                  Mattaton
                  last edited by

                  It appears I just had to add the DNS Default Domain under Advanced Client Settings in the VPN settings.

                  That just tacks my default LAN domain to the end of DNS lookups on the VPN client, et voila, NetBIOS or base PC names (without the domain appended) are converted to FQDN behind-the-scenes the same as happens locally and all is well.

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