• R/O
  • HTTP
  • SSH
  • HTTPS

luci: Commit

LuCI - OpenWrt Configuration Interface


Commit MetaInfo

Revisãoab3c415a806dffd91b6e2e4ebd9ed5d18dce489a (tree)
Hora2022-06-16 01:51:19
AutorZiMing Mo <msylgj@immo...>
CommiterZiMing Mo

Mensagem de Log

luci-app-unblockneteasemusic: fix nftset based on firewall4

Mudança Sumário

Diff

--- a/applications/luci-app-unblockneteasemusic/root/etc/init.d/unblockneteasemusic
+++ b/applications/luci-app-unblockneteasemusic/root/etc/init.d/unblockneteasemusic
@@ -123,13 +123,13 @@ start_service()
123123 rm -f "/tmp/dnsmasq.d/dnsmasq-$NAME.conf"
124124 cat <<-EOF > "/tmp/dnsmasq.d/dnsmasq-$NAME.conf"
125125 dhcp-option=252,http://${lan_addr}:${http_port}/proxy.pac
126- ${ipset}=/.music.163.com/neteasemusic
127- ${ipset}=/interface.music.163.com/neteasemusic
128- ${ipset}=/interface3.music.163.com/neteasemusic
129- ${ipset}=/apm.music.163.com/neteasemusic
130- ${ipset}=/apm3.music.163.com/neteasemusic
131- ${ipset}=/clientlog.music.163.com/neteasemusic
132- ${ipset}=/clientlog3.music.163.com/neteasemusic
126+ ${ipset}=/.music.163.com/inet#fw4#neteasemusic
127+ ${ipset}=/interface.music.163.com/inet#fw4#neteasemusic
128+ ${ipset}=/interface3.music.163.com/inet#fw4#neteasemusic
129+ ${ipset}=/apm.music.163.com/inet#fw4#neteasemusic
130+ ${ipset}=/apm3.music.163.com/inet#fw4#neteasemusic
131+ ${ipset}=/clientlog.music.163.com/inet#fw4#neteasemusic
132+ ${ipset}=/clientlog3.music.163.com/inet#fw4#neteasemusic
133133 EOF
134134 /etc/init.d/dnsmasq reload
135135
Show on old repository browser