Articles about networks (network security, MyCrypNet…)
Some points must be clarified in order to understand how a sharing works.
Difference between users and devices
The MyCrypNet access ensures the authentication of a device on a MyCrypNet network, it does not ensure the authentication of a user.
In order to share files, you must also have a way to authenticate the user who uses the MyCrypNet access.
SMB provides a way to authenticate users.
Difference between files sharing servers and clients
A file sharing made by SMB is a client/server architecture.
Some devices will store, check the authentication and distribute the files over the MyCrypNet network through their MyCrypNet access. They are the files sharing servers.
Some devices will just ask for a file through their MyCrypNet access over the MyCrypNet network and send the credentials needed for the files server to check the user identity. They are the files sharing clients.
The uppercase names below have to be replaced with the corresponding values.
|OFFICE-DESKTOP||It is the remote domain name of a MyCrypNet access set up with a files sharing server. It is the name of the access available on the management interface.|
|ALICE||It is the name of the user who has to be identified by SMB in order to access the files sharing server. No whitespace is allowed.|
|ALICE-PASSWORD||It is the password of the user who has to be identified by SMB in order to access the files sharing server.|
|USERS-GROUP||It is the group of users having permissions to access your SMB share. No whitespace is allowed.|
|BOB||It is the name of a second user who has to be identified by SMB in order to access the files sharing server. No whitespace is allowed.|
|SHARE-NAME||It is the name of the SMB configuration in the files sharing server. It is used to differentiate multiple SMB configurations on a same server. No whitespace is allowed.|
|FOLDER-PATH||It is the internal path of the folder that is shared via SMB through the MyCrypNet network.|
How to install a files sharing in a MyCrypNet network
If you want to install a files sharing server on a device connected to your (or one you receive a delegation from) MyCrypNet network, you can follow these tutorials:
If you want to install a files sharing client on a device connected to your (or one you receive a delegation from) MyCrypNet network, you can follow these tutorials:
To have more general informations on how a files sharing works, how to create a files sharing server or how to install it on other operating systems, take a look here.
Step 1/2: Install the Samba client
For “Debian like”:
sudo apt install samba-client
On “Centos like”:
yum install samba-client
Step 2/2: Configure the client to access the remote shared folder(s)
List all shares (the naming convention in uppercase is explained here).
smbclient -L //OFFICE-DESKTOP/SHARE-NAME -U ALICE
The password will be asked.
Connect to the shared folder:
smbclient //OFFICE-DESKTOP/SHARE-NAME -U ALICE
The password will be asked.
Create your secure network