fix [figure] mess 3

This commit is contained in:
OniriCorpe 2024-03-02 02:32:07 +01:00
parent d9f5bd28ca
commit 47d486e8b2
5 changed files with 32 additions and 36 deletions

View file

@ -11,7 +11,7 @@ routes:
Wenn Sie zu Hause selbst hosten und kein VPN nutzen, müssen Sie die Ports Ihres Routers umleiten ("Internet box"). Das folgende Schema versucht, die Rolle der Portweiterleitung beim Einrichten eines Servers zu Hause kurz zu erklären.
[figure caption="Abbildung der Wichtigkeit von Port-Weiterleitung"]![][image://portForwarding_en.png](/figure)
[figure caption="Abbildung der Wichtigkeit von Port-Weiterleitung"]![](image://portForwarding_en.png)[/figure]
### 0. Offene Ports diagnostizieren
@ -25,7 +25,6 @@ Ihre Box/Router-Administrationsoberfläche ist in der Regel erreichbar über [ht
### 2. Die lokale IP Ihres Servers finden
Identifizieren Sie die lokale IP Ihres Servers, entweder :
- von Ihrer Box/Router-Schnittstelle, die möglicherweise angeschlossene Geräte auflistet
- über die YunoHost-Schnittstelle, Abschnitt "Internetkonnektivität", dann auf "Details" im IPv4-Bericht klicken.
- von der Befehlszeile Ihres Servers aus, indem Sie `hostname -I` ausführen
@ -40,13 +39,12 @@ Suchen Sie in der Verwaltungsoberfläche Ihres Routers nach etwas wie "Router-Ko
Das Öffnen der unten aufgeführten Ports ist notwendig, damit die verschiedenen in YunoHost verfügbaren Dienste funktionieren. Für jeden von ihnen wird die 'TCP'-Weiterleitung benötigt. Einige Schnittstellen beziehen sich auf 'externe' und 'interne' Ports : diese sind in unserem Fall gleich.
- Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
- [SSH](/ssh): 22
- [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(servers)</small>
- [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
* Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
* [SSH](/ssh): 22
* [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(servers)</small>
* [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
Wenn Sie sowohl ein Modem als auch einen Router verwenden, dann müssen Sie Folgendes tun:
1. zuerst auf dem Modem (der Box, die dem Internet am nächsten ist) Regeln erstellen, um die oben genannten Ports an Ihren Router weiterzuleiten;
2. dann auf dem Router (der Box zwischen dem Modem und Ihren Geräten) Regeln erstellen, um die oben genannten Ports an die statische IP-Adresse für Ihren Server weiterzuleiten.

View file

@ -13,25 +13,24 @@ Si te estás auto-alojando en casa y sin VPN, tienes que redirigirse los puertos
El esquema aquí abajo intenta explicar brevemente el rol de la redirección de los puertos durante la instalación de un servidor en tu casa.
[figure caption="Ilustración de la importancia del redirección de puertos"]![][image://portForwarding_en.png](/figure)
[figure caption="Ilustración de la importancia del redirección de puertos"]![](image://portForwarding_en.png)[/figure]
[Esta página](https://www.testdevelocidad.es/configuraciones/abrir-correctamente-los-puertos-router/) también propone explicaciones detalladas sobre el funcionamiento de los puertos, y las etapas de configuración para un router genérico.
### 0. Diagnosticar los puertos abiertos
Una vez que tienes la redirección configurada, deberías poder comprobar que los puertos están bien abiertos con esta herramienta :
Una vez que tienes la redirección configurada, deberías poder comprobar que los puertos están bien abiertos con esta herramienta :
<a class="btn btn-default" href="http://ports.yunohost.org">Comprobar la redirección de los puertos</a>
### 1. Acceder a la interfaz de administración de tu router/caja/box
En general la interfaz de administración está accesible desde <http://192.168.0.1> o <http://192.168.1.1>.
En general la interfaz de administración está accesible desde http://192.168.0.1 o http://192.168.1.1.
Luego, es posible que tengas que autenticarte con los ID provechos pour tu proveedor de acceso a Internet.
### 2. Descubrir la IP local del servidor
Identifica cuál es la IP local de tu servidor, o sea :
- desde la interfaz de tu router/caja/box, donde tal vez estén listados los dipositivos conectados a la red local
- desde la webadmin de YunoHost, en 'Estado del servidor', 'Red'
- desde la línea de comandos en tu servidor, por ejemplo con `ip a | grep "scope global" | awk '{print $2}'`
@ -44,10 +43,10 @@ En la interfaz de administración de tu router/caja/box, tienes que encontrar un
Luego tienes que redirigir cada uno de los puertos listados a continuación hacia la IP local de tu router para que los varios servicios de YunoHost funcionen. Para cada uno de ellos, una redirección 'TCP' es necesaria. En algunas interfaces, tal vez encontrarás referencias a un puerto 'externo' y un puerto 'interno' : en nuestro caso, se trata del mismo número de puerto, que sea interno o externo.
- Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
- [SSH](/ssh): 22
- [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(servers)</small>
- [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
* Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
* [SSH](/ssh): 22
* [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(servers)</small>
* [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
! [fa=exclamation-triangle /] Algunos proveedores de acceso a Internet bloquean el puerto 25 (mail SMTP) por defecto para luchar con el spam. Otros (más escasos) no permiten utilizar libremente los puertos 80/443. Dependiendo de tu proveedor, puede ser posible de abrir estos puertos en la interfaz... Ver [esta página](/isp) por más informaciones.
@ -55,6 +54,8 @@ Luego tienes que redirigir cada uno de los puertos listados a continuación haci
Una tecnología llamada UPnP está disponible en algunos routers/cajas/box y permite redirigir automáticamente puertos hacia una máquina que lo pide. Si UPnP está activado en tu casa, ejecutar este comando debería automáticamente redirigir los puertos correctos :
```bash
sudo yunohost firewall reload
```

View file

@ -11,7 +11,7 @@ routes:
Si vous vous auto-hébergez à la maison et sans VPN, il vous faut rediriger les ports de votre routeur ("machin-box"). Le schéma ci-dessous tente d'expliquer brièvement le rôle de la redirection des ports lors de la mise en place d'un serveur à la maison.
[figure caption="Illustration de l'importance de la redirection des ports"]![][image://portForwarding_fr.png](/figure)
[figure caption="Illustration de l'importance de la redirection des ports"]![](image://portForwarding_fr.png)[/figure]
[Cette page](https://craym.eu/tutoriels/utilitaires/ouvrir_les_ports_de_sa_box.html) propose également des explications détaillées sur le fonctionnement des ports, et les étapes de configuration pour différents routeurs.
@ -22,14 +22,13 @@ YunoHost 3.8 vous permettra de vérifier si les ports sont correctement exposés
### 2. Accéder à l'interface d'administration de votre box/routeur
L'interface d'administration est généralement accessible via <http://192.168.0.1> ou <http://192.168.1.1>.
L'interface d'administration est généralement accessible via http://192.168.0.1 ou http://192.168.1.1.
Ensuite, il vous faudra peut-être vous authentifier avec les identifiants
fournis par votre fournisseur d'accès à Internet (FAI).
### 3. Trouver l'IP locale de votre serveur
Identifiez quelle est l'IP locale de votre serveur, soit :
- depuis l'interface de votre routeur/box, qui liste peut-être les dispositifs
connectés;
- depuis la webadmin de YunoHost, dans 'Diagnostic', section 'Connectivité Internet', cliquer sur 'Détails' à côté de la ligne sur IPv4.
@ -45,10 +44,10 @@ nom diffère suivant le type / marque de la box...
Il vous faut ensuite rediriger chacun des ports listés ci-dessous vers l'IP locale de votre serveur pour que les différents services de YunoHost fonctionnent. Pour chacun d'eux, une redirection 'TCP' est nécessaire. Certaines interfaces font référence à un port « externe » et un port « interne » : dans notre cas il s'agit du même.
- Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
- [SSH](/ssh): 22
- [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(serveurs)</small>
- [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
* Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
* [SSH](/ssh): 22
* [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(serveurs)</small>
* [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
! [fa=exclamation-triangle /] Certains fournisseurs d'accès à Internet bloquent le port 25 (mail SMTP) par défaut pour combattre le spam. D'autres (plus rares) ne permettent pas d'utiliser librement les ports 80/443. En fonction de votre FAI, il peut être possible d'ouvrir ces ports dans l'interface... Voir [cette page](/isp) pour plus d'informations.

View file

@ -11,7 +11,7 @@ routes:
If you are self-hosting at home and without a VPN, you need to forward ports on your home router ("Internet box"). The sketch below tries to briefly summarize the role and necessity of port forwarding when setting up a server at home.
[figure caption="Illustration of the importance of port-forwarding"]![][image://portForwarding_en.png](/figure)
[figure caption="Illustration of the importance of port-forwarding"]![](image://portForwarding_en.png)[/figure]
### 0. Diagnose ports opened
@ -25,7 +25,6 @@ Your box/router admin interface is usually reachable via [http://192.168.0.1](ht
### 2. Find the local IP of your server
Identify what is thei *local* IP of your server, either :
- from your box/router interface, which might list devices connected
- from the YunoHost webadmin, in 'Diagnosis', section 'Internet connectivity', click on 'Details' on the IPv4 report.
- from the command line in your server, by running `hostname -I`
@ -40,13 +39,12 @@ In your router admin interface, look for something like 'router configuration' o
Opening the ports listed below is necessary for the various services available in YunoHost to work. For each of them, the 'TCP' forwarding is needed. Some interfaces refer to 'external' and 'internal' ports : these are the same in our case.
- Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
- [SSH](/ssh): 22
- [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(servers)</small>
- [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
* Web: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
* [SSH](/ssh): 22
* [XMPP](/XMPP): 5222 <small>(clients)</small>, 5269 <small>(servers)</small>
* [Email](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
If you use both a modem and a router, then you need to do the following:
1. first on the modem (the box closest to the internet) create rules to forward the above ports to your router;
2. then on the router (the box between the modem and your devices) create rules to forward the above ports to the static IP address for your server.
@ -59,3 +57,4 @@ A technology called UPnP is available on some internet boxes / routers and allow
```bash
sudo yunohost firewall reload
```

View file

@ -11,7 +11,7 @@ routes:
Если вы самостоятельно размещаетесь дома и у вас нет VPN, вам необходимо перенаправить порты на вашем домашнем маршрутизаторе. В приведенном ниже наброске предпринята попытка кратко описать роль и необходимость переадресации портов при настройке сервера дома.
[figure caption="Иллюстрация важности переадресации портов"]![][image://portForwarding_en.png](/figure)
[figure caption="Иллюстрация важности переадресации портов"]![](image://portForwarding_en.png)[/figure]
### 0. Диагностировать открытые порты
@ -24,7 +24,6 @@ routes:
### 2. Найдите локальный IP-адрес вашего сервера
Определите, каков *локальный* IP вашего сервера, либо :
- из вашего интерфейса box / router, в котором может быть список подключенных устройств
- в веб-администраторе YunoHost, в разделе "Диагностика", "Подключение к Интернету", нажмите "Подробности" в отчете IPv4.
- из командной строки на вашем сервере, запустив `hostname -I`
@ -39,13 +38,12 @@ routes:
Открытие перечисленных ниже портов необходимо для работы различных сервисов, доступных в YunoHost. Для каждого из них необходима переадресация "TCP". Некоторые интерфейсы относятся к "внешним" и "внутренним" портам: в нашем случае это одно и то же.
- Веб: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
- [SSH](/ssh): 22
- [XMPP](/XMPP): 5222 <small>(клиенты)</small>, 5269 <small>(серверы)</small>
- [Почтовые](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
* Веб: 80 <small>(HTTP)</small>, 443 <small>(HTTPS)</small>
* [SSH](/ssh): 22
* [XMPP](/XMPP): 5222 <small>(клиенты)</small>, 5269 <small>(серверы)</small>
* [Почтовые](/email): 25, 587 <small>(SMTP)</small>, 993 <small>(IMAP)</small>
Если вы используете и модем, и маршрутизатор, то вам необходимо выполнить следующее:
1. сначала на модеме (поле, расположенном ближе всего к Интернету) создайте правила для перенаправления вышеуказанных портов на ваш маршрутизатор;
2. затем на маршрутизаторе (поле между модемом и вашими устройствами) создайте правила для пересылки вышеуказанных портов на статический IP-адрес вашего сервера.
@ -58,3 +56,4 @@ routes:
```bash
sudo yunohost firewall reload
```