[postfix, nfs] Déclaration des réseaux en ipv6
This commit is contained in:
parent
b13b9cf93e
commit
eba8553865
2 changed files with 5 additions and 3 deletions
|
@ -10,3 +10,5 @@
|
||||||
#
|
#
|
||||||
/home-adh 10.231.136.0/24(rw,async,no_subtree_check,no_root_squash)
|
/home-adh 10.231.136.0/24(rw,async,no_subtree_check,no_root_squash)
|
||||||
/usr/scripts 10.231.136.0/24(rw,async,no_subtree_check,no_root_squash)
|
/usr/scripts 10.231.136.0/24(rw,async,no_subtree_check,no_root_squash)
|
||||||
|
/home-adh 2a01:240:fe3d:c804::/64(rw,async,no_subtree_check,no_root_squash)
|
||||||
|
/usr/scripts 2a01:240:fe3d:c804::/64(rw,async,no_subtree_check,no_root_squash)
|
||||||
|
|
|
@ -46,9 +46,9 @@ import commands
|
||||||
exports = [s.split(' ', 2)[0] for s in commands.getoutput("/usr/sbin/postconf -d").split("\n")]
|
exports = [s.split(' ', 2)[0] for s in commands.getoutput("/usr/sbin/postconf -d").split("\n")]
|
||||||
|
|
||||||
# Les différents réseaux
|
# Les différents réseaux
|
||||||
local_networks = ["127.0.0.0/8"]
|
local_networks = ["127.0.0.0/8", '[::1]/128']
|
||||||
adm_networks = ["10.231.136.0/24"]
|
adm_networks = ["10.231.136.0/24", '[2a01:240:fe3d:c804::]/64']
|
||||||
client_networks = ["138.231.136.0/21", "138.231.144.0/21", "138.231.148.0/22", "[2a01:240:fe3d:4::]/64"]
|
client_networks = ["138.231.136.0/21", "138.231.144.0/21", "138.231.148.0/22", "[2a01:240:fe3d:4::]/64", '[2a01:240:fe3d:c04::]/64']
|
||||||
|
|
||||||
@# +------------------+
|
@# +------------------+
|
||||||
@# | Variables utiles |
|
@# | Variables utiles |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue