The use of services provided by Limawi, especially MyCrypNet.
MacOS® has a feature that allows one or more folders to be shared with computers on the local network. It is also possible to use this function with your MyCrypNet network to perform secure, simple and fast exchanges between your different machines.
It is based on SMB.
We’ll see the different configuration steps to perform.
If you want more general informations on how does a file sharing works or how to install it on other operating systems, check this article.
You need to have a MyCrypNet network set up. Check this help page in order to create one.
Step 1/3: Create a user account
For security reasons, files sharing needs authentication, ie you have to enter a username and password when you accede to a shared directory.
The best way to do this is to create a local user account on the machine that will share a folder. This user account will be called by the one who wants to accede to this shared folder. Obviously it’s possible to create as many user accounts as you want to.
The first step is to accede the System Preferences and then “Users & Groups”.
You must click on the padlock at the bottom left to identify and unlock the user account add feature. Then you can click on the “+” button to create a new account.
All you have to do is enter the informations of this account and validate it.
We will call the created account ALICE and the password ALICE-PASSWORD (the naming convention in uppercase is explained here).
The identifiers of this new user account have to be communicated to the person who will, later on, accede to the shared folders. Always prefer a secure communication method (encrypted message, etc.).
Step 2/3: Enable the file sharing feature
Go to System Preferences and then “Sharing” to enable this feature.
You must check “File Sharing” in the left column, then access “Options”.
To set up a cross-platform files sharing, check “Share files and folders using SMB” and select the user(s) of the machine whom you will allow remote access to.
Step 3/3: Configure the files sharing
On the folder you want to share (we will call it SHARE-NAME), you must right-click and then “Get Info”. You also can do ctrl-click and then “Get Info”.
At this point we can check the box “Shared folder” which makes this folder available in a network share.
You also have to configure the permissions on this folder, at the bottom of this window.
It’s possible to add permissions to a user through the “+” button and configure its rights (read, write or both).
This makes it possible to use the built-in file-sharing feature of MacOS®, without installing third-party software and preserving all the advantages of your MyCrypNet private network: security, speed and simplicity.
If you want the installation in a Linux environnent with command lines, take a look here.
You must have a MyCrypNet access first. You can buy one here or ask a delegation to someone who bought one.
Step 1: Download and install the software
From a package repository. For “Debian-like”:
sudo apt-get install openvpn resolvconf network-manager-openvpn-gnome
Step 2: Download the settings file
Download the MyCrypNet.conf file and put it into a dedicated folder. MyCrypNet.conf
Make sure to keep this folder in a safe place on your disk.
Step 3: Download the key and certificate
Download the two settings files (vpn.cert and vpn.key) from the “Your apps” page or the “Delegated apps” page and put them together into the same folder as the MyCrypNet.conf file.
Step 4: Open the configuration interface
Go to the Gnome menu and select “VPN Off”.
Click on “VPN Settings”.
Step 5: Load the configuration
Add a VPN configuration by clicking on the “+” on the “VPN” section.
Select “Import from file…” and look for the MyCrypNet.conf file.
Sometimes GNOME® bugs and force you to save the configuration (by clicking on the “save” button) in order to make it work.
Step 6: Check the configuration
You should see the VPN configuration appearing on the “VPN” section.
Check the “OFF” switch to start the configuration. If the “OFF” goes back, you should open your configuration, click “save” then check the “OFF” switch again.