Accessing Samba shares from outside home network

    • OMV 2.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Accessing Samba shares from outside home network

      Hello

      My idea is to be able to access the samba shares in my home local network when I am not home. Say, access them from my computer at work or from my laptop when I am not at home. Therefore, I have a couple of questions (my apologies in advance if some of them are absurd. I handle myself relatively good with computers, but when it comes to networking I am a caveman):

      1. For what I've read, this can be accomplished using OwnCloud. Then, I would access my shares thru the OwnCloud website/app, isn't it?

      2.I found also that it can't be done using OpenVPN. OpenVPN allows me to tunnel my connection from wherever I am to my house (where my OMV PC sits) and from there out to the internet; meaning that I may be able to access my OMV Web GUI with all its plug-ins but not my home network. Am I right?

      3. According the OpenVPNas description in the stable plugins section, it states that "(OpenVPNas) supports a wide range of configurations, including secure and granular remote access to internal network and/ or private cloud network resources". Does it mean that OpenVPNas offers the same bells and whistles from OpenVPN plus the possibility to access my network resources (aka network shares)?

      Thanks in advance!
      Custom mini-ITX build
      Coolcube Mini, Intel Desktop Board DQ77KB, Intel Celeron G1610T, 4 GB DDR3 Ram, 30 GB Sandisk SSDnow 200 (OS), 1 TB Samsung M8 HN-M101MBB

      Dell Optiplex 960 sff (deprecated) - link


      Dell Optiplex FX160 (repurposed) - link

      "If you can't find it in Google, it simply doesn't exist!" - The Internetz

    • 2. Incorrect, you might access all your network resources, with proper routes and forwarding enabled. This is the best option. Openvpnas has a nice webui but limited to two simultaneous clients. Go for and openvpn server in routed mode (tun), you can mount samba, nfs, whatever. Ethernet frames wont pass, but shouldn't be an issue.
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Thanks for the fast response! Ok, that is what I needed to know. In that case, I'll go with OpenVPN.
      Custom mini-ITX build
      Coolcube Mini, Intel Desktop Board DQ77KB, Intel Celeron G1610T, 4 GB DDR3 Ram, 30 GB Sandisk SSDnow 200 (OS), 1 TB Samsung M8 HN-M101MBB

      Dell Optiplex 960 sff (deprecated) - link


      Dell Optiplex FX160 (repurposed) - link

      "If you can't find it in Google, it simply doesn't exist!" - The Internetz

    • If you are just using Windows clients you can use a bridged VPN with OpenVPN AS. This would allow broadcasting and your windows machines would be able to discover your machines and network shares. The problem is most people are using more devices withe their VPN, like mobile devices. So a routed VPN is usually used that is not able to use broadcasting through to the VPN. You should be able to mount shares with devices connected to the VPN with OpenVPN AS as well. The shares are just not discoverable via the Network icon in Windows.
    • Thanks for the further explanation. I already decided to go with OpenVPN. I use also my Android devices, therefore OpenVPN will be better.
      Custom mini-ITX build
      Coolcube Mini, Intel Desktop Board DQ77KB, Intel Celeron G1610T, 4 GB DDR3 Ram, 30 GB Sandisk SSDnow 200 (OS), 1 TB Samsung M8 HN-M101MBB

      Dell Optiplex 960 sff (deprecated) - link


      Dell Optiplex FX160 (repurposed) - link

      "If you can't find it in Google, it simply doesn't exist!" - The Internetz