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

    (SOLVED) Local Name resolution with OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 3.4k 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
      WJHildreth
      last edited by

      Hello all,

      This is a beginner question of sorts, but I am unsure how to do it.  I have OpenVPN configured on my pfSense box and it seems to work just fine.  I can get to the stuff on my home network, and all the other things I want to do.  However, I would like to be able to use local machine names on my home network to interact with them.  For example, I use Kodi Media Center is a shared database and the media is mapped via SMB shares.  On my laptop, I would like to watch my media while I am on the road.  The communication with the MySQL server works fine since it uses an IP adrress, but the database refers to files that are part of a named SMB share, like smb://computer/share/media_file/

      Now, if I add a hosts entry for the machine that has the SMB share all works well.

      So my question is, how to I get OpenVPN to lookup names of devices on my home LAN, for example by computername or computername.domain

      I am running pfSense v 2.3.2-RELEASE-p1 (i386)

      Thanks for your patience with this newbie first time poster and pfSense user.

      Joe

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

        If you run a name server in your network, provide it to the vpn client by entering the servers address in the "DNS Server 1" box in the OpenVPN server settings. Also you will have to enter the DNS default domain above. Try to access the shares with the FQDN.
        If yor provide your shares by NetBIOS only, check "Enable NetBIOS over TCP/IP".

        1 Reply Last reply Reply Quote 0
        • W
          WJHildreth
          last edited by

          That was the ticket.  Thank you for your help.  It works correct now.

          Joe

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