Commit d0962c98 authored by Hamza Dely's avatar Hamza Dely

Mise à jour de la configuration pour l'assignation dynamique des VLANs

parent 99d8c07f
......@@ -56,14 +56,12 @@ post-proxy {
# qui pourraient nous poser problème et on rajoute les nôtres
attr_filter.post-proxy
update reply {
&Tunnel-Type := VLAN
&Tunnel-Medium-Type := 802
}
# Dans le cas d'une réponse positive, on place l'invité sur le VLAN des invités
if (&Auth-Type == Accept) {
update reply {
&Tunnel-Type := VLAN
&Tunnel-Medium-Type := 802
&Tunnel-Private-Group-ID := 22
&Reply-Message := "Authentication succeded"
}
......@@ -73,6 +71,8 @@ post-proxy {
# Sinon, on le place sur le VLAN d'accueil
if (&Auth-Type == Reject) {
update reply {
&Tunnel-Type := VLAN
&Tunnel-Medium-Type := 802
&Tunnel-Private-Group-ID := 7
&Reply-Message := "Authentication failed"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment