Subversion Repositories ALCASAR

Rev

Rev 3043 | Rev 3053 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3043 Rev 3046
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 3043 2022-07-22 17:10:23Z rexy $
2
#  $Id: alcasar.sh 3046 2022-07-30 22:07:33Z rexy $
3
 
3
 
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, lighttpd, php, netfilter, e2guardian, ntpd, openssl, dnsmasq, unbound, gammu, clamav, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, lighttpd, php, netfilter, e2guardian, ntpd, openssl, dnsmasq, unbound, gammu, clamav, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
6
# contact : info@alcasar.net
6
# contact : info@alcasar.net
7
 
7
 
Line 2172... Line 2172...
2172
	echo "HTTPS_LOGIN=off" >> $CONF_FILE
2172
	echo "HTTPS_LOGIN=off" >> $CONF_FILE
2173
	echo "HTTPS_CHILLI=off" >> $CONF_FILE
2173
	echo "HTTPS_CHILLI=off" >> $CONF_FILE
2174
	echo "SSH_LAN=22" >> $CONF_FILE
2174
	echo "SSH_LAN=22" >> $CONF_FILE
2175
	echo "SSH_WAN=0" >> $CONF_FILE
2175
	echo "SSH_WAN=0" >> $CONF_FILE
2176
	echo "SSH_ADMIN_FROM=0.0.0.0/0.0.0.0" >> $CONF_FILE
2176
	echo "SSH_ADMIN_FROM=0.0.0.0/0.0.0.0" >> $CONF_FILE
-
 
2177
	echo "INTERLAN=off" >> $CONF_FILE
2177
	echo "LDAP=off" >> $CONF_FILE
2178
	echo "LDAP=off" >> $CONF_FILE
2178
	echo "LDAP_SERVER=127.0.0.1" >> $CONF_FILE
2179
	echo "LDAP_SERVER=127.0.0.1" >> $CONF_FILE
2179
	echo "LDAP_BASE=cn=Users;dc=serverad;dc=localdomain" >> $CONF_FILE
2180
	echo "LDAP_BASE=cn=Users;dc=serverad;dc=localdomain" >> $CONF_FILE
2180
	echo "LDAP_UID=sAMAccountName" >> $CONF_FILE
2181
	echo "LDAP_UID=sAMAccountName" >> $CONF_FILE
2181
	echo "LDAP_FILTER=" >> $CONF_FILE
2182
	echo "LDAP_FILTER=" >> $CONF_FILE