LaboM Yunohost sur raspberrypi: Firewall

Ce wiki a été archivé en 2018.

Le nouveau wiki se trouve à: ressources.labomedia.org

Les fonctionnalités sont désactivées: vous pouvez faire une recherche sur Google site:https://wiki.labomedia.org et découvrir La Labomedia.

De Centre de Ressources Numériques - Labomedia
Aller à : navigation, rechercher


A revoir après installation de ncl



Il ne faut jamais ouvrir de port

Je le fais pour jouer !

Ouvrir un port

Help

pi@Yunohost:~ $ sudo yunohost firewall allow -h
usage: yunohost firewall allow [-h] [--no-upnp] [--no-reload] [-6] [-4]
                               {TCP,UDP,Both} port

positional arguments:
  {TCP,UDP,Both}   Protocol type to allow (TCP/UDP/Both)
  port             Port or range of ports to open

optional arguments:
  -h, --help       show this help message and exit
  --no-upnp        Do not add forwarding of this port with UPnP
  --no-reload      Do not reload firewall rules
  -6, --ipv6-only  Only add a rule for IPv6 connections
  -4, --ipv4-only  Only add a rule for IPv4 connections

Ouvrir le port 18888

pi@Yunohost:~ $ sudo yunohost firewall allow TCP 18888 
Succès ! Pare-feu rechargé avec succès
opened_ports: 
  - 22
  - 25
  - 53
  - 80
  - 443
  - 465
  - 587
  - 993
  - 5222
  - 5269
  - 5353
  - 18888
pi@Yunohost:~ $