antizapret-pac-generator-light/process.sh

22 lines
603 B
Bash
Raw Normal View History

2019-12-01 04:58:25 +03:00
#!/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
2020-05-25 20:45:15 +03:00
exit 0