antizapret-pac-generator-light/process.sh
2019-12-01 04:58:25 +03:00

20 lines
595 B
Bash
Executable File

#!/bin/bash
set -e
#cp result/dnsmasq-aliases-alt.conf /etc/dnsmasq.d/aliases-alt.conf
#service dnsmasq restart
#cp result/knot-aliases-alt.conf /etc/knot-resolver/knot-aliases-alt.conf
#systemctl restart kresd@1.service
#cp result/openvpn-blocked-ranges.txt /etc/openvpn/server/ccd/DEFAULT
#iptables -F azvpnwhitelist
#while read -r line
#do
# iptables -w -A azvpnwhitelist -d "$line" -j ACCEPT
#done < result/blocked-ranges.txt
#cp result/squid-whitelist-zones.conf /etc/squid/whitelistedhosts.txt
#cp result/iplist_all.txt /etc/squid/whitelistedips.txt
#systemctl reload squid || true