SMB share accessability on smartphone
I am desperately trying to be able to connect via an iOS (and Android) APP to my SMB share. It works if I am connected to my home wifi where to my FreeNas server is connected to.
On cellulair it does not work though. I have not been able to figure out why. I have tried tweaking settings with no luck.
What am I doing wrong?
#3 Updated by Timur Bakeyev over 2 years ago
- Status changed from Unscreened to 15
From your description it sounds like you have pretty common home installation, where FreeNAS box is within your home network in a private IP range and you connected to the Internet via your ISP through the home router. Those kind of setups are quite ISP specific, but most of the time they are configured so, that you can easily get from your home network to Internet, but it's almost impossible to connect back from Internet to your home network.
And, to clarify, when you are trying to access from your cellular phone, you are coming from the Internet.
You need to verify with your ISP, do you get a public IP address for your router that can be accessed from outside. If that (now quite rarely) possible, then you need to configure your firewall to allow access from outside to the local network.
But even if that's all possible it's a bad idea to open Samba shares to the Internet. That would expose your data and your FreeNAS box to the public and can lead to the break in and leakage of your data outside.
If you really want to get such an access from outside and maintain security of your data - you need to setup VPN server either on your router or on the FreeNAS box itself.