743,7 → 743,7 |
[ -e /etc/freeradius-web/config.php.default ] || cp /etc/freeradius-web/config.php /etc/freeradius-web/config.php.default |
cp -f $DIR_CONF/freeradiusweb-config.php /etc/freeradius-web/config.php |
cat <<EOF > /etc/freeradius-web/naslist.conf |
nas1_name: alcasar.%{general_domain} |
nas1_name: alcasar-$ORGANISME |
nas1_model: Portail captif |
nas1_ip: $PRIVATE_IP |
nas1_port_num: 0 |
1070,9 → 1070,7 |
server=$DNS2 |
# le servive DHCP est configuré mais n'est exploité que pour le "bypass" |
dhcp-range=$PRIVATE_DYN_FIRST_IP,$PRIVATE_DYN_LAST_IP,$PRIVATE_NETMASK,12h |
#dhcp-option=3,1.2.3.4 |
#dhcp-option=option:router,1.2.3.4 |
#dhcp-option=42,0.0.0.0 |
dhcp-option=option:router,$PRIVATE_IP |
#dhcp-option=option:ntp-server,192.168.0.4,10.10.0.5 |
|
# Exemple de configuration statique : <@MAC>,<name>,<@IP>,<MASK>,<ttl bail> |