ruantiblock: Minor fixes.

autoinstall.sh: Dnsmasq rebind protection for .onion.
This commit is contained in:
gSpot
2021-10-14 22:43:01 +03:00
parent 00a1f01787
commit 87abb0e334
4 changed files with 6 additions and 5 deletions
+3
View File
@@ -222,6 +222,9 @@ InstallTorConfig() {
_if_lan="eth0"
fi
$UCI_CMD set ruantiblock.config.if_lan="$_if_lan"
# dnsmasq rebind protection
$UCI_CMD set dhcp.@dnsmasq[0].rebind_localhost='1'
$UCI_CMD set dhcp.@dnsmasq[0].rebind_domain='.onion'
$UCI_CMD commit
}