Subversion Repositories ALCASAR

Rev

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

Rev 2354 Rev 2370
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2354 2017-07-25 22:31:24Z tom.houdayer $ 
2
#  $Id: alcasar.sh 2370 2017-08-09 23:20:58Z tom.houdayer $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 1264... Line 1264...
1264
domain		$DOMAIN
1264
domain		$DOMAIN
1265
dns1		$PRIVATE_IP
1265
dns1		$PRIVATE_IP
1266
dns2		$PRIVATE_IP
1266
dns2		$PRIVATE_IP
1267
uamlisten	$PRIVATE_IP
1267
uamlisten	$PRIVATE_IP
1268
uamport		3990
1268
uamport		3990
-
 
1269
uamuiport	3991
1269
macauth
1270
macauth
1270
macpasswd	password
1271
macpasswd	password
1271
strictmacauth
1272
strictmacauth
1272
locationname	$HOSTNAME.$DOMAIN
1273
locationname	$HOSTNAME.$DOMAIN
1273
radiusserver1	127.0.0.1
1274
radiusserver1	127.0.0.1
Line 1291... Line 1292...
1291
#dhcprelayagent		none
1292
#dhcprelayagent		none
1292
#dhcpgatewayport	none
1293
#dhcpgatewayport	none
1293
sslkeyfile	/etc/pki/tls/private/alcasar.key
1294
sslkeyfile	/etc/pki/tls/private/alcasar.key
1294
sslcertfile	/etc/pki/tls/certs/alcasar.crt
1295
sslcertfile	/etc/pki/tls/certs/alcasar.crt
1295
redirssl
1296
redirssl
-
 
1297
uamuissl
1296
EOF
1298
EOF
1297
# create files for "DHCP static ip" and "DHCP static ip info". Reserve the second IP address for INTIF (the first one is for tun0)
1299
# create files for "DHCP static ip" and "DHCP static ip info". Reserve the second IP address for INTIF (the first one is for tun0)
1298
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers
1300
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers
1299
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers-info
1301
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers-info
1300
# create files for trusted domains and urls
1302
# create files for trusted domains and urls