Projet

Général

Profil

spcl.patch

Emmanuel GARETTE, 20/02/2012 17:47

Télécharger (1,29 ko)

Voir les différences:

modif/spcl.options 2012-02-20 17:41:59.223268897 +0100
37 37
%if %%adresse_ip_conteneur_dns != '127.0.0.1'
38 38
// mode avec conteneur
39 39
   %%adresse_ip_conteneur_dns;
40
%if %%is_defined('adresse_ip_eth0_proxy_link') and %%adresse_ip_eth0_proxy_link != ''
41
    %%adresse_ip_eth0_proxy_link;
42
%end if
40 43
%if %%nombre_interfaces > 1 and %%is_defined('adresse_ip_eth1_proxy_link') and %%adresse_ip_eth1_proxy_link != ''
41 44
    %%adresse_ip_eth1_proxy_link;
42 45
%end if
......
48 51
%end if
49 52
%else
50 53
// mode sans conteneur
54
   %%adresse_ip_eth0;
55
%if %%nombre_interfaces >= "2"
51 56
   %%adresse_ip_eth1;
57
%end if
52 58
%if %%nombre_interfaces >= "3"
53 59
   %%adresse_ip_eth2;
54 60
%if %%vlan_eth2 == "oui"
......
87 93
%end if
88 94
};
95
%if %%nombre_interfaces >= "2"
89 96
acl "reseaueth1" {
90 97
   %%adresse_network_eth1/%%calc_classe(%%adresse_netmask_eth1);
98
%end if
91 99
%if %%agriates_member == "oui" and %%adresse_dns_agriates != "" and %%is_file(%%container_path_dns+"/etc/bind/agriates.zones")
92 100
};
101
%end if
93 102
// include %%container_path_dns+"/etc/bind/agriates.zones"
......
523 532
%end for
524 533
   };
525 534
   forward only;
526
%end if
527 535
%if %%ip_dns_zone_forward != []
528 536
};
529 537
%for %%zone_name in %%nom_zone_forward
......
538 546
%end if
539 547
%end for
540 548
%end if
541