mirror of
https://bitbucket.org/anticensority/antizapret-pac-generator-light.git
synced 2024-11-21 12:46:02 +03:00
22 lines
603 B
Bash
Executable File
22 lines
603 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
|
|
|
|
exit 0
|