Difference between revisions of "Configuration initiale"

From rejetto wiki
Jump to: navigation, search
(Created page with "Si vous vous connectez à Internet via un routeur/pare-feu matériel, vous devrez certainement configurer votre routeur pour que HFS fonctionne correctement. La tâche critiqu...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Si vous vous connectez à Internet via un routeur/pare-feu matériel, vous devrez certainement configurer votre routeur pour que HFS fonctionne correctement. La tâche critique s'appelle "Port fowarding".  <br>Vous pouvez obtenir de l'aide à ce sujet sur [http://www.portforward.com Portforward], et sur le [http://www.rejetto.com/forum/index.php?board=27.0 Forum ]HFS.<br>
+
If you connect to the Internet through a hardware router/firewall you will almost certainly have to configure your router in order to get HFS to work properly. The critical task is called "Port fowarding".  <br>You can get help about this at [http://www.portforward.com Portforward], and on the HFS [http://www.rejetto.com/forum/index.php?board=27.0 Forum].<br>
De nombreux pare-feu exigent également que vous donniez l'autorisation HFS pour envoyer et recevoir des fichiers.
+
Many firewalls also require that you give HFS permission to send and receive files.
  
==Résumé==
+
==Sommaire==
  
Cette section explique ce que vous devez faire pour établir un serveur HFS en état de marche, entièrement sécurisé et protégé. Ces tâches comprennent:
+
This section explains what you have to do to establish a working, fully-secured and protected, HFS server. These tasks include:
# Démarrer et tester.
+
# Starting and testing.
# Ajout de dossiers pour le téléchargement et le téléchargement.
+
# Adding folders for upload and download.
# Détermination des adresses.
+
# Determining  addresses.
# Définition de mots de passe.
+
# Setting passwords.
# Définir les comptes d'utilisateurs.
+
# Defining user accounts.
# Enregistrer une configuration.
+
# Saving a configuration.
  
 
==Etat initial==
 
==Etat initial==
  
Une fois votre routeur configuré, double-cliquez sur le fichier nommé hfs.exe pour démarrer votre serveur.
+
When you have configured your router, double-click the file named ''hfs.exe'' to start your server. Initially, it looks like this:  
Au début, ça ressemble à ça:  
 
 
[[Image:ss1a1.png|First screen]]
 
[[Image:ss1a1.png|First screen]]
  
Bien sûr, "l'adresse" dans l'illustration ci-dessus n'est pas l'adresse que vous voyez réellement sur votre serveur.
+
Of course the "Address" in the above illustration is not the address you actually see on your server.
  
 
==Auto-test==
 
==Auto-test==
  
Assurez-vous maintenant que votre serveur est visible sur Internet, en utilisant "Self Test". Cliquez sur l'option et suivez les instructions à l'écran.
+
Now make sure that your server is visible on the Internet, by using "Self Test". Click the option and follow the onscreen instructions.  
Un test réussi, apparaît ce qui suit:
+
A successful test, popsup the following:
  
 
[[Image:Selfok.png]]
 
[[Image:Selfok.png]]
  
"Self Test" est une fonctionnalité HFS incroyablement puissante. Il vérifie non seulement la visibilité sur Internet, mais tente également de réparer automatiquement de nombreux problèmes de connexion courants.
+
"Self Test" is an amazingly powerful HFS feature. It not only checks Internet visibilty, it also attempts to automatically repair many common connection problems.
  
En termes généraux, si "Self Test" réussit, vous pouvez être presque certain que le serveur est visible sur Internet et qu'il est prêt à accepter et à traiter les demandes de téléchargement. De même, si cela échoue, il est inutile de poursuivre la configuration tant que vous n'avez pas résolu ce problème de connexion. (Le plus souvent, échec de transférer le port correctement.)
+
In general terms, if "Self Test" is successful you can be almost certain that the server is visible on the Internet, and is ready to accept and process upload and download requests. Equally, however, if it fails there is little point in continuing configuration until you have solved this connection problem. (Most often failure to forward port correctly.)
  
Vous verrez que la première adresse affichée est maintenant remplacée par votre adresse IP normale. Cliquez sur "Adresse IP" pour voir les différentes options de traitement d'adresse disponibles. Mais ne le changez pas maintenant.  
+
You'll see that the first Address displayed is now replaced by your normal IP address. Click "IP address" to see the various address-handling options available. But do not change it right now.<br>
Vous pouvez vérifier votre adresse IP normale à l'adresse suivante: [http://www.whatismyipaddress.com/ IP address]  ou [http://www.auditmypc.com/whats-my-ip.asp Audit PC].
+
You can check your normal IP address at, for example: [http://www.whatismyipaddress.com/ IP address]  or [http://www.auditmypc.com/whats-my-ip.asp Audit PC].
  
==Ajouter un dossier de téléchargement==
+
==Ajouter un dossier d'envoi==
  
Ajoutez ensuite un dossier de téléchargement afin que vos amis puissent facilement vous envoyer des fichiers. Ce doit être un vrai dossier (voir [[HFS: Glossary]]). Pour faire ça:<br>
+
Next, add an upload folder so that your friends can easily send you files. This must be a real folder (see [[HFS: Glossary]]). To do this:<br>
  
# Créez un nouveau dossier sur votre disque dur, par exemple. C: \ Uploads, en utilisant l'explorateur de Windows.
+
# Create a new folder on your hard disk eg. C:\Uploads, by using Window's Explorer.
# Si vous avez "Ajouter à HFS" dans le menu contextuel de l'Explorateur Windows, cliquez simplement sur le dossier et cliquez sur cette option. Cliquez ensuite sur "Dossier réel" dans la boîte de dialogue résultante.
+
# If you have "Add to HFS" in the Windows Explorer context menu, simply right-click on the folder and click this option. Then click "Real Folder" in the resultant dialog box.
# L'alternative consiste à faire glisser le dossier "Uploads" dans le volet de gauche de la fenêtre du serveur nommé "Virtual File System".
+
# The alternative is to drag&drop the folder "Uploads" to the left pane  of the server window named "Virtual File System".
# Assurez-vous que "Uploads" est sélectionné (c'est-à-dire qu'il a le focus). Utilisez ''Upload &rarr;Upload for accounts &rarr;Anyone'' afin que vos amis puissent accéder à ce dossier.
+
# Make sure that "Uploads" is selected (ie. it has the focus). Use ''Upload &rarr;Upload for accounts &rarr;Anyone'' so that any of your friends can access this folder.
# Vous pouvez protéger les "Uploads"par un mot de passe, mais la plupart des utilisateurs ne le font pas pour que tous leurs amis puissent télécharger des fichiers sans aucune restriction. (Voir "Protection par mot de passe" ci-dessous.)
+
# You can password-protect "Uploads", but most users don't do this so that all their friends can upload files without any restrictions. (See "Password protection", below.)
# Vous voudrez peut-être taper (ou coller) '''<nowiki>http://localhost/</nowiki>''' dans votre navigateur Internet pour vérifier ce que les utilisateurs de votre site verront lorsqu'ils accéderont à votre site. Vous pouvez également utiliser la fonction de navigateur dans HFS.
+
# You may care to type (or paste) '''<nowiki>http://localhost/</nowiki>''' into your Internet browser to check what your site's users will see when they access your site. Alternatively, use the ''Browser''  function in HFS.
  
 
==Ajout d'un dossier de téléchargement==
 
==Ajout d'un dossier de téléchargement==
  
Ensuite, ajoutez un répertoire de téléchargement afin que vos amis puissent facilement télécharger des fichiers à partir de vous. Cela peut être un dossier virtuel (voir [[HFS: Glossary]]), mais lors de la première utilisation, il est probablement plus facile d’utiliser un autre dossier réel. Pour faire ça:<br>
+
Next, add a download directory so that your friends can easily download files from you. This can be a virtual folder (see [[HFS: Glossary]]), but for first-time use, it's probably easier to use another real folder. To do this:<br>
  
 
# Create a new folder on your hard disk eg. "C:\Downloads", by using Window's Explorer. Copy some test files there, of the type you imagine your friends will want. MP3s, for example.
 
# Create a new folder on your hard disk eg. "C:\Downloads", by using Window's Explorer. Copy some test files there, of the type you imagine your friends will want. MP3s, for example.
Line 63: Line 62:
 
[[Image:062.png]]
 
[[Image:062.png]]
  
==Addresses to give out==
+
==Adresses à donner==
  
Your friends can now download any files you add to the folder C:\Downloads on your hard disk. You can either give them the address of your site,  
+
Vos amis peuvent maintenant télécharger tous les fichiers que vous ajoutez au dossier C:\Downloads sur votre disque dur. Vous pouvez soit leur donner l'adresse de votre site,  
  
 
[[Image:025.jpg]]
 
[[Image:025.jpg]]
  
or of the item (the folder "Downloads").
+
ou de l'élément (le dossier  "Downloads").
  
 
[[Image:026.JPG]]
 
[[Image:026.JPG]]
Line 75: Line 74:
 
If you use folder names that contain spaces, the item address may include % signs and some unwanted digits. In order to make it more readable, you can use the HFS "URL Encoding"  facility (Main menu in "Expert mode"). Uncheck "Encode spaces" to remove the % signs which conventionally represent spaces, and the superfluous digits. The item then becomes a little more clear and readable:
 
If you use folder names that contain spaces, the item address may include % signs and some unwanted digits. In order to make it more readable, you can use the HFS "URL Encoding"  facility (Main menu in "Expert mode"). Uncheck "Encode spaces" to remove the % signs which conventionally represent spaces, and the superfluous digits. The item then becomes a little more clear and readable:
  
'''Warning'''<br>
+
'''Attention'''<br>
 
Many HFS users like to give their site address to their buddies while they are using a Chat or Messenger application. In these circumstances, you may find some difficulties if you attempt to send the more readable version. (The Messenger browser, for example, normally just freezes when it encounters a non-encoded space.)  One solution is to just right-click on the address (or file, or folder, or item) in HFS, and use  
 
Many HFS users like to give their site address to their buddies while they are using a Chat or Messenger application. In these circumstances, you may find some difficulties if you attempt to send the more readable version. (The Messenger browser, for example, normally just freezes when it encounters a non-encoded space.)  One solution is to just right-click on the address (or file, or folder, or item) in HFS, and use  
 
"Copy URL". You can then simply paste the address into your chat browser.
 
"Copy URL". You can then simply paste the address into your chat browser.
Line 82: Line 81:
 
For example "Downloads", "Mother", "Music", "Catherine",etc.
 
For example "Downloads", "Mother", "Music", "Catherine",etc.
  
==Password protection==
+
==Mot de passe de protection==
  
 
You can protect folders, files, other items, or your complete site, by assigning passwords. This is not the same as setting-up user accounts. (See below.)<br>
 
You can protect folders, files, other items, or your complete site, by assigning passwords. This is not the same as setting-up user accounts. (See below.)<br>
Line 93: Line 92:
 
To remove the protection, click "Reset user/pass".
 
To remove the protection, click "Reset user/pass".
  
==Passwords and folder restrictions==
+
==Mots de passe et restrictions de dossier==
  
 
Some users get confused about the use of folder restrictions, and the "username/password" facilities, in HFS.<br>
 
Some users get confused about the use of folder restrictions, and the "username/password" facilities, in HFS.<br>
Line 113: Line 112:
 
For extra security however, you ''can'' set-up user accounts.
 
For extra security however, you ''can'' set-up user accounts.
  
==User accounts==
+
==Comptes d'utilisateur==
  
 
Use the facilities in "Restrict access" to setup user accounts.
 
Use the facilities in "Restrict access" to setup user accounts.
Line 128: Line 127:
 
If you click "No account", you effectively remove all username/password  protection for the item.
 
If you click "No account", you effectively remove all username/password  protection for the item.
  
==Saving your configuration==
+
==Sauver votre configuration==
  
 
If you have followed the process outlined above, you now have a simple, very easy-to-use HFS server that is fully-secured and protected.<br>
 
If you have followed the process outlined above, you now have a simple, very easy-to-use HFS server that is fully-secured and protected.<br>

Latest revision as of 23:06, 6 November 2018

If you connect to the Internet through a hardware router/firewall you will almost certainly have to configure your router in order to get HFS to work properly. The critical task is called "Port fowarding".
You can get help about this at Portforward, and on the HFS Forum.
Many firewalls also require that you give HFS permission to send and receive files.

Sommaire

This section explains what you have to do to establish a working, fully-secured and protected, HFS server. These tasks include:

  1. Starting and testing.
  2. Adding folders for upload and download.
  3. Determining addresses.
  4. Setting passwords.
  5. Defining user accounts.
  6. Saving a configuration.

Etat initial

When you have configured your router, double-click the file named hfs.exe to start your server. Initially, it looks like this: First screen

Of course the "Address" in the above illustration is not the address you actually see on your server.

Auto-test

Now make sure that your server is visible on the Internet, by using "Self Test". Click the option and follow the onscreen instructions. A successful test, popsup the following:

Selfok.png

"Self Test" is an amazingly powerful HFS feature. It not only checks Internet visibilty, it also attempts to automatically repair many common connection problems.

In general terms, if "Self Test" is successful you can be almost certain that the server is visible on the Internet, and is ready to accept and process upload and download requests. Equally, however, if it fails there is little point in continuing configuration until you have solved this connection problem. (Most often failure to forward port correctly.)

You'll see that the first Address displayed is now replaced by your normal IP address. Click "IP address" to see the various address-handling options available. But do not change it right now.
You can check your normal IP address at, for example: IP address or Audit PC.

Ajouter un dossier d'envoi

Next, add an upload folder so that your friends can easily send you files. This must be a real folder (see HFS: Glossary). To do this:

  1. Create a new folder on your hard disk eg. C:\Uploads, by using Window's Explorer.
  2. If you have "Add to HFS" in the Windows Explorer context menu, simply right-click on the folder and click this option. Then click "Real Folder" in the resultant dialog box.
  3. The alternative is to drag&drop the folder "Uploads" to the left pane of the server window named "Virtual File System".
  4. Make sure that "Uploads" is selected (ie. it has the focus). Use Upload →Upload for accounts →Anyone so that any of your friends can access this folder.
  5. You can password-protect "Uploads", but most users don't do this so that all their friends can upload files without any restrictions. (See "Password protection", below.)
  6. You may care to type (or paste) http://localhost/ into your Internet browser to check what your site's users will see when they access your site. Alternatively, use the Browser function in HFS.

Ajout d'un dossier de téléchargement

Next, add a download directory so that your friends can easily download files from you. This can be a virtual folder (see HFS: Glossary), but for first-time use, it's probably easier to use another real folder. To do this:

  1. Create a new folder on your hard disk eg. "C:\Downloads", by using Window's Explorer. Copy some test files there, of the type you imagine your friends will want. MP3s, for example.
  2. If you have "Add to HFS" in the context menu, simply right-click on the folder and click this option. Then click "Real Folder" in the resultant dialog box.
  3. The alternative is to drag&drop the folder "Downloads" to the left pane of the server window named "Virtual File System".
  4. You probably should password-protect "Download", but, assuming your system is reasonably secure (ie. you have at least an updated firewall), it's safe to leave it without any restrictions for a few minutes while you complete configuration. (See "Password protection", below.)
  5. You can type (or paste) http://localhost/ into your browser to check what your site's users see when they access your site. Alternatively, use the HFS Browser function.

The HFS Virtual File System now looks like this:

061.png

http://localhost/ now displays this:

062.png

Adresses à donner

Vos amis peuvent maintenant télécharger tous les fichiers que vous ajoutez au dossier C:\Downloads sur votre disque dur. Vous pouvez soit leur donner l'adresse de votre site,

025.jpg

ou de l'élément (le dossier "Downloads").

026.JPG

If you use folder names that contain spaces, the item address may include % signs and some unwanted digits. In order to make it more readable, you can use the HFS "URL Encoding" facility (Main menu in "Expert mode"). Uncheck "Encode spaces" to remove the % signs which conventionally represent spaces, and the superfluous digits. The item then becomes a little more clear and readable:

Attention
Many HFS users like to give their site address to their buddies while they are using a Chat or Messenger application. In these circumstances, you may find some difficulties if you attempt to send the more readable version. (The Messenger browser, for example, normally just freezes when it encounters a non-encoded space.) One solution is to just right-click on the address (or file, or folder, or item) in HFS, and use "Copy URL". You can then simply paste the address into your chat browser.

A neat solution that avoids any problems with this, is to only create folders with names (character strings) that do not contain spaces!
For example "Downloads", "Mother", "Music", "Catherine",etc.

Mot de passe de protection

You can protect folders, files, other items, or your complete site, by assigning passwords. This is not the same as setting-up user accounts. (See below.)
To password protect the folder "Downloads", for example, click the folder to select it, then right-click and choose "Set user/pass". Then complete the dialog box: File:081.png

After you've clicked "Ok", only those who use the correct username and know the password can access this folder. You'll notice that a locked icon appears next to the folder in HFS. 063.png

To remove the protection, click "Reset user/pass".

Mots de passe et restrictions de dossier

Some users get confused about the use of folder restrictions, and the "username/password" facilities, in HFS.
It is perfectly possible to have a highly secure HFS server without using the "username/password" facilities at all.

The best practice is to just protect your HFS folders. This a key difference between HFS and conventional file servers. Many have used conventional servers and discovered that you have to have an account and login before you can do anything.
HFS just isn't like that.

On this site for example, "rojetto" (whoever he is) has no account. But he can access the folders "Uploads and "4rojetto". He can't access "Downloads" (because he doesn't know the password). You can see that "Downloads" has a padlock icon, to show that it's locked.

049.png

You can also password-protect root.

051.png

Now "rojetto" (who still doesn't know the password) can see the folders, but can't access any of them.

For extra security however, you can set-up user accounts.

Comptes d'utilisateur

Use the facilities in "Restrict access" to setup user accounts.

058.PNG

Assuming you haven't setup any accounts before, select the "Downloads" folder, and click "New account" to display:

059.PNG

Fill-in the "Username" and "Password" and click Ok.
Click "Restrict access" again to check that the acount has been established correctly.
If you click "All existing accounts", all users with an account (including the one you have just setup) must enter their username and password to access the "Downloads" folder.
If you click "No account", you effectively remove all username/password protection for the item.

Sauver votre configuration

If you have followed the process outlined above, you now have a simple, very easy-to-use HFS server that is fully-secured and protected.
The final task is to preserve your work by using "Save file system".
You are prompted for a filename to use. Many users find it convenient to use an incremental naming system, eg. "01.vfs", "02.vfs", "03.vfs", etc. But, of course, you are free to adopt whatever naming system you prefer.

Warning Do not attempt to change the default file extension;always use "vfs".

See Refinements for for more step-by-step guidance about some of the other features included in HFS