1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Various fix for IPv6, disable Shadowsocks for IPv6 with ss-redir

This commit is contained in:
Ycarus 2019-01-13 11:10:05 +01:00
parent 0ef3754412
commit 5b10fe3bd5
8 changed files with 58 additions and 15 deletions

View file

@ -344,7 +344,7 @@ rules_up() {
config_foreach ss_rules_restart "$cfgtype" "$cfgtype"
done
ss_rules
[ "$(sysctl -n net.ipv6.conf.all.disable_ipv6 | tr -d '\n')" = "1" ] || ss_rules6
#[ "$(uci -q get openmptcprouter.settings.disable_ipv6)" = "1" ] || ss_rules6
[ -f /etc/init.d/omr-bypass ] && /etc/init.d/omr-bypass reload
}