1631,12 → 1631,11 |
# enable the default categories |
$DIR_DEST_BIN/alcasar-bl.sh --cat_choice |
# creation of the custom BL and WL categorie named "ossi" (for domain names & ip only) |
touch $DIR_DEST_SHARE/dnsmasq-bl/ossi.conf |
touch $DIR_DEST_SHARE/dnsmasq-wl/ossi.conf |
touch $DIR_DEST_SHARE/iptables-bl/ossi |
touch $DIR_DEST_SHARE/iptables-wl/ossi |
mkdir $DIR_DG/lists/blacklists/ossi-bl $DIR_DG/lists/blacklists/ossi-wl |
touch $DIR_DG/lists/blacklists/ossi-bl/domain $DIR_DG/lists/blacklists/ossi-wl/domain |
# add custom ALCASAR BL files (TOR) |
mv $DIR_CONF/ossi-tor_node_ip $DIR_DEST_SHARE/iptables-bl/ |
mkdir $DIR_DG/lists/blacklists/ossi-tor_node |
mv $DIR_CONF/ossi-tor_node $DIR_DG/lists/blacklists/ossi-tor_node/domain |
chown -R dansguardian:apache $DIR_DG $DIR_DEST_SHARE |
chmod -R g+rw $DIR_DG $DIR_DEST_SHARE |
fi |