[postfix, nfs] Déclaration des réseaux en ipv6

This commit is contained in:
Valentin Samir 2014-01-29 12:19:03 +01:00
parent b13b9cf93e
commit eba8553865
2 changed files with 5 additions and 3 deletions

View file

@ -10,3 +10,5 @@
#
/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)
/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)

View file

@ -46,9 +46,9 @@ import commands
exports = [s.split(' ', 2)[0] for s in commands.getoutput("/usr/sbin/postconf -d").split("\n")]
# Les différents réseaux
local_networks = ["127.0.0.0/8"]
adm_networks = ["10.231.136.0/24"]
client_networks = ["138.231.136.0/21", "138.231.144.0/21", "138.231.148.0/22", "[2a01:240:fe3d:4::]/64"]
local_networks = ["127.0.0.0/8", '[::1]/128']
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", '[2a01:240:fe3d:c04::]/64']
@# +------------------+
@# | Variables utiles |