Spoiler pour les serveurs
This commit is contained in:
parent
1421c78eb8
commit
8d0b3f733b
|
@ -36,6 +36,7 @@ Adresse ipv6 publique : 2001:910:1360::3
|
|||
#### Configuration réseau
|
||||
|
||||
##### /etc/network/interfaces
|
||||
<details>
|
||||
|
||||
# Connexion avec la machine mother
|
||||
allow-hotplug ens10
|
||||
|
@ -63,9 +64,12 @@ Adresse ipv6 publique : 2001:910:1360::3
|
|||
bridge_waitport 0 # suppression du délai avant que le port soit disponible pour le bridge
|
||||
bridge_fd 0 # suppression de délai avant que le forwarding du bridge soit établi
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration DRBD
|
||||
|
||||
#### /etc/drbd.d/drbd1.res
|
||||
<details>
|
||||
|
||||
resource drbd1 {
|
||||
meta-disk internal;
|
||||
|
@ -105,7 +109,10 @@ Adresse ipv6 publique : 2001:910:1360::3
|
|||
}
|
||||
}
|
||||
|
||||
</details>
|
||||
|
||||
#### /etc/ocfs2/cluster.conf
|
||||
<details>
|
||||
|
||||
cluster:
|
||||
name = sharedfs
|
||||
|
@ -126,6 +133,8 @@ Adresse ipv6 publique : 2001:910:1360::3
|
|||
ip_address = 192.169.254.2
|
||||
name = mother
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration MTA
|
||||
|
||||
#### /etc/postfix/transport
|
||||
|
|
|
@ -24,6 +24,7 @@ Adresse ipv6 publique : 2001:910:1360::1
|
|||
#### Configuration des interfaces
|
||||
|
||||
##### /etc/config/network
|
||||
<details>
|
||||
|
||||
config interface 'loopback'
|
||||
option device 'lo'
|
||||
|
@ -66,8 +67,11 @@ Adresse ipv6 publique : 2001:910:1360::1
|
|||
option ip6prefix '2001:910:1360::/48'
|
||||
list ip6addr '2001:910:1360:ffff::1'
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration des certificats SSL
|
||||
#### /etc/config/acme
|
||||
<details>
|
||||
|
||||
config acme
|
||||
option state_dir '/etc/acme'
|
||||
|
@ -84,9 +88,12 @@ Adresse ipv6 publique : 2001:910:1360::1
|
|||
option keylength 'ec-384'
|
||||
option use_staging '0'
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration DHCP (IP statiques allouées aux VM et serveurs)
|
||||
|
||||
#### /etc/config/dhcp
|
||||
<details>
|
||||
|
||||
config dnsmasq
|
||||
option domainneeded '1'
|
||||
|
@ -298,9 +305,12 @@ Adresse ipv6 publique : 2001:910:1360::1
|
|||
option mac '52:54:00:F1:8B:EC'
|
||||
option ip '192.169.1.186'
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration du pare-feu (et redirections de ports pour IPV4)
|
||||
|
||||
#### /etc/config/firewall
|
||||
<details>
|
||||
|
||||
config defaults
|
||||
option input 'ACCEPT'
|
||||
|
@ -576,11 +586,14 @@ Adresse ipv6 publique : 2001:910:1360::1
|
|||
option dest_port '3478'
|
||||
option dest_ip '192.169.1.211'
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration Reverse Proxy (nginx)
|
||||
|
||||
Note : IPV4 uniquement
|
||||
|
||||
#### /etc/nginx/uci.conf (fichier principal de configuration)
|
||||
<details>
|
||||
|
||||
worker_processes auto;
|
||||
|
||||
|
@ -638,7 +651,10 @@ Note : IPV4 uniquement
|
|||
include conf.d/*.conf;
|
||||
}
|
||||
|
||||
</details>
|
||||
|
||||
#### /etc/nginx/reverse_proxy.conf (reverse proxy HTTP)
|
||||
<details>
|
||||
|
||||
server {
|
||||
server_name gestion.a-lec.org;
|
||||
|
@ -712,7 +728,10 @@ Note : IPV4 uniquement
|
|||
}
|
||||
}
|
||||
|
||||
</details>
|
||||
|
||||
#### /etc/nginx/reverse_proxy_ssl.conf (reverse proxy HTTPS)
|
||||
<details>
|
||||
|
||||
stream {
|
||||
|
||||
|
@ -766,3 +785,5 @@ Note : IPV4 uniquement
|
|||
'"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"';
|
||||
|
||||
}
|
||||
|
||||
</details>
|
|
@ -36,6 +36,7 @@ Adresse ipv6 publique : 2001:910:1360::2
|
|||
#### Configuration réseau
|
||||
|
||||
##### /etc/network/interfaces
|
||||
<details>
|
||||
|
||||
# Connexion avec la machine aunt
|
||||
allow-hotplug ens9
|
||||
|
@ -63,9 +64,12 @@ Adresse ipv6 publique : 2001:910:1360::2
|
|||
bridge_waitport 0 # suppression du délai avant que le port soit disponible pour le bridge
|
||||
bridge_fd 0 # suppression de délai avant que le forwarding du bridge soit établi
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration DRBD
|
||||
|
||||
#### /etc/drbd.d/drbd1.res
|
||||
<details>
|
||||
|
||||
resource drbd1 {
|
||||
meta-disk internal;
|
||||
|
@ -105,7 +109,10 @@ Adresse ipv6 publique : 2001:910:1360::2
|
|||
}
|
||||
}
|
||||
|
||||
</details>
|
||||
|
||||
#### /etc/ocfs2/cluster.conf
|
||||
<details>
|
||||
|
||||
cluster:
|
||||
name = sharedfs
|
||||
|
@ -126,6 +133,8 @@ Adresse ipv6 publique : 2001:910:1360::2
|
|||
ip_address = 192.169.254.2
|
||||
name = mother
|
||||
|
||||
</details>
|
||||
|
||||
### Configuration MTA
|
||||
|
||||
#### /etc/postfix/transport
|
||||
|
|
Loading…
Reference in New Issue