13 |
13 |
%if %%ssh_eth4 == "oui"
|
14 |
14 |
SSHDepuisEth4
|
15 |
15 |
%end if
|
16 |
|
%if %%admin_eth0 == "oui"
|
|
16 |
%if %%ssh_eth0 == "oui"
|
17 |
17 |
AdminDepuisEth0
|
18 |
18 |
%end if
|
19 |
|
%if %%admin_eth1 == "oui"
|
|
19 |
%if %%ssh_eth1 == "oui"
|
20 |
20 |
AdminDepuisEth1
|
21 |
21 |
%end if
|
22 |
|
%if %%admin_eth2 == "oui"
|
|
22 |
%if %%ssh_eth2 == "oui"
|
23 |
23 |
AdminDepuisEth2
|
24 |
24 |
%end if
|
25 |
|
%if %%admin_eth3 == "oui"
|
|
25 |
%if %%ssh_eth3 == "oui"
|
26 |
26 |
AdminDepuisEth3
|
27 |
27 |
%end if
|
28 |
|
%if %%admin_eth4 == "oui"
|
|
28 |
%if %%ssh_eth4 == "oui"
|
29 |
29 |
AdminDepuisEth4
|
30 |
30 |
%end if
|
31 |
31 |
%if %%is_defined('activer_nufw') and %%activer_nufw == "oui"
|
32 |
32 |
auth_nufw
|
33 |
33 |
%end if
|
|
34 |
%if %%test_vz(master=True)
|
|
35 |
%if %%activate_virt_eclair == "oui"
|
|
36 |
eclair-dmz
|
|
37 |
%end if
|
|
38 |
%if %%activate_virt_scribe == "oui"
|
|
39 |
scribe-dmz
|
|
40 |
%end if
|
|
41 |
%end if
|
|
42 |
%if %%adresse_global_vlanpeda == ""
|
|
43 |
peda_ext_sans_RSwitch
|
|
44 |
%else
|
|
45 |
peda_ext_avec_RSwitch
|
|
46 |
%end if
|
|
47 |
%if %%srv_kav == "Peda"
|
|
48 |
%if %%ip_srv_kav !=""
|
|
49 |
kav_ped_vers_adm
|
|
50 |
%if %%ip_srv_prikav != ""
|
|
51 |
kav_pri_vers_ped
|
|
52 |
%end if
|
|
53 |
%if %%ip_srv_pubkav != ""
|
|
54 |
kav_pub_vers_ped
|
|
55 |
%end if
|
|
56 |
%end if
|
|
57 |
%end if
|
|
58 |
%if %%srv_kav == "DMZPri"
|
|
59 |
%if %%ip_srv_kavdmz != ""
|
|
60 |
%if %%ip_srv_pubkav != ""
|
|
61 |
kav_pri_vers_adm
|
|
62 |
kav_pri_vers_ped
|
|
63 |
kav_pub_vers_pri
|
|
64 |
%end if
|
|
65 |
%end if
|
|
66 |
%end if
|
|
67 |
%if %%srv_kav == "Peda"
|
|
68 |
%if %%ip_srv_kav !=""
|
|
69 |
kav_control_ped
|
|
70 |
%end if
|
|
71 |
%end if
|
|
72 |
%if %%srv_kav == "DMZPri"
|
|
73 |
%if %%ip_srv_kavdmz != ""
|
|
74 |
kav_control_pri
|
|
75 |
%end if
|
|
76 |
%end if
|
|
77 |
%if %%type_etab == "CG13"
|
|
78 |
%if %%adresse_global_vlanpeda != ""
|
|
79 |
snmp_cg13
|
|
80 |
%end if
|
|
81 |
%if %%ip_srvVPN_pedago != ""
|
|
82 |
Serveur_VPN_Pedago_CG13
|
|
83 |
%end if
|
|
84 |
%if %%ip_web_dmzpub != ""
|
|
85 |
serveur_web_CG13_Region
|
|
86 |
%end if
|
|
87 |
%if %%srv_pronote == "Peda"
|
|
88 |
%if %%ip_pronote_dmzpub !=""
|
|
89 |
%if %%ip_pronote_peda != ""
|
|
90 |
pronote_dmz_CG13_Region
|
|
91 |
pronote_peda_CG13_Region
|
|
92 |
%end if
|
|
93 |
%end if
|
|
94 |
%end if
|
|
95 |
%if %%srv_pronote == "DMZPri"
|
|
96 |
%if %%ip_pronote_dmzpub !=""
|
|
97 |
%if %%ip_pronote_dmzpri != ""
|
|
98 |
pronote_dmz_CG13_Region
|
|
99 |
pronote_dmzpri_CG13_Region
|
|
100 |
%end if
|
|
101 |
%end if
|
|
102 |
%end if
|
|
103 |
%if %%ip_spipzwook_dmzpub != ""
|
|
104 |
zwook_dmzpub_smtp_CG13
|
|
105 |
zwook_dmzpub_CG13_Region
|
|
106 |
%end if
|
|
107 |
%if %%ip_absence_dmzpub != ""
|
|
108 |
serveur_absence_CG13_Region
|
|
109 |
%end if
|
|
110 |
%if %%ip_spipzwook_dmzpri != ""
|
|
111 |
spipzwook_dmzpri
|
|
112 |
%end if
|
|
113 |
%if %%ip_ssh_dmzpub != ""
|
|
114 |
ssh_dmzpub_CG13_Region
|
|
115 |
%end if
|
|
116 |
%if %%srv_edt == "Peda"
|
|
117 |
%if %%ip_edt_dmzpub !=""
|
|
118 |
%if %%ip_edt_peda != ""
|
|
119 |
edt_dmz_CG13_Region
|
|
120 |
edt_peda_CG13_Region
|
|
121 |
%end if
|
|
122 |
%end if
|
|
123 |
%end if
|
|
124 |
%if %%srv_edt == "DMZPri"
|
|
125 |
%if %%ip_edt_dmzpub !=""
|
|
126 |
%if %%ip_edt_dmzpri != ""
|
|
127 |
edt_dmz_CG13_Region
|
|
128 |
edt_dmzpri_CG13_Region
|
|
129 |
%end if
|
|
130 |
%end if
|
|
131 |
%end if
|
|
132 |
%end if
|
|
133 |
%if %%type_etab == "Lycee_Region"
|
|
134 |
%if %%ip_sauv_nas != ""
|
|
135 |
Peda_NASpri
|
|
136 |
%end if
|
|
137 |
%if %%ip_supervision != ""
|
|
138 |
Acces_Station_Supervision
|
|
139 |
%end if
|
|
140 |
%if %%ip_web_dmzpub != ""
|
|
141 |
serveur_web_CG13_Region
|
|
142 |
%end if
|
|
143 |
%if %%srv_pronote == "Peda"
|
|
144 |
%if %%ip_pronote_dmzpub !=""
|
|
145 |
%if %%ip_pronote_peda != ""
|
|
146 |
pronote_dmz_CG13_Region
|
|
147 |
pronote_peda_CG13_Region
|
|
148 |
%end if
|
|
149 |
%end if
|
|
150 |
%end if
|
|
151 |
%if %%srv_pronote == "DMZPri"
|
|
152 |
%if %%ip_pronote_dmzpub !=""
|
|
153 |
%if %%ip_pronote_dmzpri != ""
|
|
154 |
pronote_dmz_CG13_Region
|
|
155 |
pronote_dmzpri_CG13_Region
|
|
156 |
%end if
|
|
157 |
%end if
|
|
158 |
%end if
|
|
159 |
%if %%srv_edt == "Peda"
|
|
160 |
%if %%ip_edt_dmzpub !=""
|
|
161 |
%if %%ip_edt_peda != ""
|
|
162 |
edt_dmz_CG13_Region
|
|
163 |
edt_peda_CG13_Region
|
|
164 |
%end if
|
|
165 |
%end if
|
|
166 |
%end if
|
|
167 |
%if %%srv_edt == "DMZPri"
|
|
168 |
%if %%ip_edt_dmzpub !=""
|
|
169 |
%if %%ip_edt_dmzpri != ""
|
|
170 |
edt_dmz_CG13_Region
|
|
171 |
edt_dmzpri_CG13_Region
|
|
172 |
%end if
|
|
173 |
%end if
|
|
174 |
%end if
|
|
175 |
%if %%ip_spipzwook_dmzpub != ""
|
|
176 |
zwook_dmzpub_smtp_Region
|
|
177 |
zwook_dmzpub_CG13_Region
|
|
178 |
%end if
|
|
179 |
%if %%ip_absence_dmzpub != ""
|
|
180 |
serveur_absence_CG13_Region
|
|
181 |
%end if
|
|
182 |
%if %%ip_spipzwook_dmzpri != ""
|
|
183 |
spipzwook_dmzpri
|
|
184 |
%end if
|
|
185 |
%if %%clientvpn_region == "oui" and %%ip_peda_acces_vpn != ""
|
|
186 |
clientvpn_peda_region
|
|
187 |
%end if
|
|
188 |
%if %%clientvpn_region == "oui" and %%ip_pri_acces_vpn != ""
|
|
189 |
clientvpn_dmzpri_region
|
|
190 |
%end if
|
|
191 |
%if %%clientvpn_region == "oui" and %%ip_pub_acces_vpn != ""
|
|
192 |
clientvpn_dmzpub_region
|
|
193 |
%end if
|
|
194 |
%if %%ip_ssh_dmzpub != ""
|
|
195 |
ssh_dmzpub_CG13_Region
|
|
196 |
%end if
|
|
197 |
%end if
|
|
198 |
%if %%type_etab == "Autres(FAI)"
|
|
199 |
%if %%ip_sauv_nas != ""
|
|
200 |
Peda_NASpri
|
|
201 |
%end if
|
|
202 |
%if %%ip_web_dmzpub != ""
|
|
203 |
serveur_web_FAI
|
|
204 |
%end if
|
|
205 |
%if %%srv_pronote == "Peda"
|
|
206 |
%if %%ip_pronote_dmzpub !=""
|
|
207 |
%if %%ip_pronote_peda != ""
|
|
208 |
pronote_dmz_FAI
|
|
209 |
pronote_peda_FAI
|
|
210 |
%end if
|
|
211 |
%end if
|
|
212 |
%end if
|
|
213 |
%if %%srv_pronote == "DMZPri"
|
|
214 |
%if %%ip_pronote_dmzpub !=""
|
|
215 |
%if %%ip_pronote_dmzpri != ""
|
|
216 |
pronote_dmz_FAI
|
|
217 |
pronote_dmzpri_FAI
|
|
218 |
%end if
|
|
219 |
%end if
|
|
220 |
%end if
|
|
221 |
%if %%srv_edt == "Peda"
|
|
222 |
%if %%ip_edt_dmzpub !=""
|
|
223 |
%if %%ip_edt_peda != ""
|
|
224 |
edt_dmz_FAI
|
|
225 |
edt_peda_FAI
|
|
226 |
%end if
|
|
227 |
%end if
|
|
228 |
%end if
|
|
229 |
%if %%srv_edt == "DMZPri"
|
|
230 |
%if %%ip_edt_dmzpub !=""
|
|
231 |
%if %%ip_edt_dmzpri != ""
|
|
232 |
edt_dmz_FAI
|
|
233 |
edt_dmzpri_FAI
|
|
234 |
%end if
|
|
235 |
%end if
|
|
236 |
%end if
|
|
237 |
%if %%ip_spipzwook_dmzpub != ""
|
|
238 |
zwook_dmzpub_FAI
|
|
239 |
%end if
|
|
240 |
%if %%ip_absence_dmzpub != ""
|
|
241 |
serveur_absence_FAI
|
|
242 |
%end if
|
|
243 |
%if %%ip_spipzwook_dmzpri != ""
|
|
244 |
spipzwook_dmzpri
|
|
245 |
%end if
|
|
246 |
%if %%ip_ssh_dmzpub != ""
|
|
247 |
ssh_dmzpub_fai
|
|
248 |
%end if
|
|
249 |
%end if
|