Subversion Repositories ALCASAR

Rev

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

Rev 1788 Rev 1792
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1788 2016-01-31 20:50:19Z richard $ 
2
#  $Id: alcasar.sh 1792 2016-02-08 14:15:25Z franck $ 
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 1591... Line 1591...
1591
domain=$DOMAIN
1591
domain=$DOMAIN
1592
domain-needed
1592
domain-needed
1593
expand-hosts
1593
expand-hosts
1594
bogus-priv
1594
bogus-priv
1595
filterwin2k
1595
filterwin2k
1596
address=/#/$PRIVATE_IP				# for Domain name without local resolution (WL)  
-
 
1597
ipset=/#/whitelist_ip_allowed			# dynamicly add the resolv IP address in the Firewall rules
1596
ipset=/#/whitelist_ip_allowed			# dynamicly add the resolv IP address in the Firewall rules
-
 
1597
address=/#/$PRIVATE_IP				# for Domain name without local resolution (WL)  
1598
EOF
1598
EOF
1599
# 4th dnsmasq listen on udp 56 ("blackhole")
1599
# 4th dnsmasq listen on udp 56 ("blackhole")
1600
	cat << EOF > /etc/dnsmasq-blackhole.conf 
1600
	cat << EOF > /etc/dnsmasq-blackhole.conf 
1601
# Configuration file for "dnsmasq as a blackhole"
1601
# Configuration file for "dnsmasq as a blackhole"
1602
conf-file=$DIR_DEST_ETC/alcasar-dns-name	# local DNS resolutions
1602
conf-file=$DIR_DEST_ETC/alcasar-dns-name	# local DNS resolutions