mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 14:40:58 +00:00
ruantiblock: Minor fixes.
autoinstall.sh: Dnsmasq rebind protection for .onion.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user