luci-app-passwall: sync upstream

last commit: 2c1bcc3d67
This commit is contained in:
sbwml 2024-08-18 15:00:08 +08:00
parent 78113c7f3d
commit 8b35488271
4 changed files with 3 additions and 4 deletions

View File

@ -1298,7 +1298,7 @@ function gen_config(var)
if remote_dns_fake then
dns.fakeip = {
enabled = true,
inet4_range = "198.18.0.0/16",
inet4_range = "198.18.0.0/15",
inet6_range = "fc00::/18",
}

View File

@ -34,7 +34,7 @@ ip6t_m="$ip6t -t mangle -w"
[ -z "$ip6t" -o -z "$(lsmod | grep 'ip6table_nat')" ] && ip6t_n="eval #$ip6t_n"
[ -z "$ip6t" -o -z "$(lsmod | grep 'ip6table_mangle')" ] && ip6t_m="eval #$ip6t_m"
FWI=$(uci -q get firewall.passwall.path 2>/dev/null)
FAKE_IP="198.18.0.0/16"
FAKE_IP="198.18.0.0/15"
factor() {
if [ -z "$1" ] || [ -z "$2" ]; then

View File

@ -26,7 +26,7 @@ FORCE_INDEX=0
. /lib/functions/network.sh
FWI=$(uci -q get firewall.passwall.path 2>/dev/null)
FAKE_IP="198.18.0.0/16"
FAKE_IP="198.18.0.0/15"
factor() {
if [ -z "$1" ] || [ -z "$2" ]; then

View File

@ -8,7 +8,6 @@
192.0.2.0/24
192.88.99.0/24
192.168.0.0/16
198.18.0.0/15
198.51.100.0/24
203.0.113.0/24
224.0.0.0/4