Results 1 to 2 of 2

Thread: Ubuntu Server VPN network drive

  1. #1
    Join Date
    Mar 2018
    Beans
    1

    Ubuntu Server VPN network drive

    Hi all this its my first post, been using ubuntu server for about a year just as a file server for a small 4 person office.

    However we would all like to be able to access the files on the network drive from wherever we are as we all travel alot plus would give me the chance to work from home!

    Anyway I believe this is possible by using a VPN such as open VPN, the reason I cant just cloud all the files is there a very old but still very well used MS Access database that requires a mapped network drive.

    So my real question is whats the best way to go about this ? Security is important as is speed.

    Thanks

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Ubuntu Server VPN network drive

    You could use OpenVPN with the OpenVPN Windows client. However the machine that accepts the OpenVPN connections needs to be publicly visible which I would strongly discourage in your case. You could build a router with Linux and OpenVPN that sits on the Internet and interconnects between your local network and the tunneled clients. Some router software supports OpenVPN as well, so if your external router has that option, you could use that instead. Or, if possible, flash it with something like DD-WRT.

    Make sure the server's smb.conf file limits connections to the local network and those coming over the tunnel using the "hosts allow" directive like this:

    Code:
    hosts allow = 127. 192.168.1 10.1.1
    That would limit access to localhost, machines on the 192.168.1.0/24 subnet, and machines on the 10.1.1.0/24 subnet.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •