Subversion Repositories ALCASAR

Rev

Rev 2888 | Rev 2926 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 2888 Rev 2922
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2888 2020-11-29 18:13:41Z rexy $
2
#  $Id: alcasar.sh 2922 2021-02-22 22:48:39Z rexy $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 1228... Line 1228...
1228
#dhcpgateway		none
1228
#dhcpgateway		none
1229
#dhcprelayagent		none
1229
#dhcprelayagent		none
1230
#dhcpgatewayport	none
1230
#dhcpgatewayport	none
1231
sslkeyfile	/etc/pki/tls/private/alcasar.key
1231
sslkeyfile	/etc/pki/tls/private/alcasar.key
1232
sslcertfile	/etc/pki/tls/certs/alcasar.crt
1232
sslcertfile	/etc/pki/tls/certs/alcasar.crt
-
 
1233
sslcafile	/etc/pki/tls/certs/server-chain.pem
1233
#redirssl
1234
#redirssl
1234
#uamuissl
1235
#uamuissl
1235
EOF
1236
EOF
1236
# create files for "DHCP static ip" and "DHCP static ip info". Reserve the second IP address for INTIF (the first one is for tun0)
1237
# create files for "DHCP static ip" and "DHCP static ip info". Reserve the second IP address for INTIF (the first one is for tun0)
1237
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers
1238
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers