# 04-Gestion réseau et port forwarding

## <span style="text-decoration: underline; color: rgb(45, 194, 107);">**A - Gestion du réseau LXC :**</span>

> <p class="callout info">Afin de réserver les adresses IP en cas de plusieurs serveur LXC et éviter les conflits. Il est nécessaire de renseigner le fichier de zone DNS "/etc/named/zone/lxc.morbihan-energies.fr".</p>

La zone sert uniquement d'inventaire et n'est pas publiée.

<table border="1" id="bkmrk-nom-du-ct-adresse-ip" style="border-collapse: collapse; width: 56.2963%; height: 237.614px;"><colgroup><col style="width: 40.6103%;"></col><col style="width: 59.371%;"></col></colgroup><tbody><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">**Nom du CT**</td><td class="align-center" style="height: 29.7017px;">**Adresse IP**</td></tr><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">BASE</td><td class="align-center" style="height: 29.7017px;">192.168.25.150</td></tr><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">WIKI</td><td class="align-center" style="height: 29.7017px;">192.168.25.151</td></tr><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">BASH</td><td class="align-center" style="height: 29.7017px;">192.168.25.152</td></tr><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">DASHBOARD</td><td class="align-center" style="height: 29.7017px;">192.168.25.153</td></tr><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">RACKTABLES</td><td class="align-center" style="height: 29.7017px;">192.168.25.232</td></tr><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">KANBOARD</td><td class="align-center" style="height: 29.7017px;">192.168.25.156</td></tr><tr style="height: 29.7017px;"><td class="align-center" style="height: 29.7017px;">  
</td><td class="align-center" style="height: 29.7017px;"> </td></tr></tbody></table>

## <span style="text-decoration: underline; color: rgb(45, 194, 107);">**B - Gestion du forwarding de port :**</span>

La gestion du forwarding de port (SSH, HTTP, MySQL...) est recensé dans un tableur spécifique :

N:\\05-Informatique\\01-Systeme\\Réseaux\\Network-Configuration.ods (Page LXC-Network)

Ce paramétrage permet à une personne de se connecter en SSH directement sur le CT sur un port spécifique sans passer par le serveur LXC.