Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

How to connect to FreeNas11 server from anywhere.

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

Ben_RK_711

Newbie
Joined
Jan 29, 2020
Messages
1
Hi,

If have a Freenas11 Server running with SMB shares.
I would like to figure out if there is a way to set it up so that i can access the SMB shares from anywhere.
 

Kris Moore

VP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
360
You'd probably want to setup WireGuard or OpenVPN to create a virtual network and then browse SMB via that.
 

Redcoat

Dedicated Sage
Joined
Feb 18, 2014
Messages
1,647
Following Kris's lead here - search the forum for "VPN" and you'll find a multitude of threads discussing the use of VPN for secure remote access.
 

garm

Neophyte Sage
Joined
Aug 19, 2017
Messages
1,465
Except the WireGuard discussion might not be in full swing as it just arrived OTB in FreeNAS 11.3
 

LVLouisCyphre

Junior Member
Joined
Dec 22, 2019
Messages
16
SSH tunnel or OpenVPN. Keep in mind that you need enough bandwidth to effectively use it. It most likely will not work with satellite ISPs as you're lucky to get 1 Mbps upstream. Most broadband connections typically have enough bandwidth. The reverse goes where you are. If you don't have decent WiFi, it won't work either. You will also need the appropriate rules in your firewall. I'm sure there's an OpenVPN guide, handbook and (*channeling Carl Sagan*) billions and billions of YouTube videos on how to configure your firewall. VPN is pretty much the industry standard solution.
 
Last edited:

Yorick

Dedicated Sage
Joined
Nov 4, 2018
Messages
1,697
Instead of using SMB via VPN, wouldn’t an owncloud setup be simpler? What am I missing?
 

sretalla

Dedicated Sage
Joined
Jan 1, 2016
Messages
2,848
Maybe you are right.
You are linking to an article covering privacy VPNs, not VPNs for access to home/private networks and equipment from outside.

The OP seems to want something like Nextcloud/Owncloud unless there's a specific need to use SMB.
 

castle

Junior Member
Joined
Mar 1, 2019
Messages
15
@ricardos

Setting up VPN is pretty straight forward; especially now with the OpenVPN community plugin, not that I've ever tried the plugin myself, but setting up and maintaining a secure owncloud installation is probably a lot more difficult. WireGuard, as mention by @Kris Moore, is also an alternative (which I will be looking into myself).

good luck!
 
Last edited:

Patrick M. Hausen

Dedicated Sage
Joined
Nov 25, 2013
Messages
1,793
OpenVPN has two features that make it preferable over Wireguard specifically in a home lab setup:
  • it can run over TCP - slower, with problems over bad Internet connections, yes - but most probable to work from any hotel/conference/public WLAN
  • it can share port 443 with an SSL enabled web server via SSLH
Kind regards,
Patrick
 

Patrick M. Hausen

Dedicated Sage
Joined
Nov 25, 2013
Messages
1,793
Well, OpenVPN works just fine natively in a FreeBSD jail. I only run VMs if the application absolutely demands a different OS. E.g. for me currently two instances of Confluence (Linux) and one Windows VM for tax declaration software and stuff.
 

Basil Hendroff

Neophyte Sage
Joined
Jan 4, 2014
Messages
1,250
Check to see if your modem has VPN server functionality already built-in. Mine does (Fritz!Box series). It works well and trivial to set up for Windows and Android clients. Also for MacOS and others, but I haven't tried.
 
Last edited:
Top