OSDN Git Service

luci-app-unblockneteasemusic: do not use port range
authorZiMing Mo <msylgj@immortalwrt.org>
Thu, 17 Mar 2022 10:15:20 +0000 (18:15 +0800)
committerZiMing Mo <msylgj@immortalwrt.org>
Thu, 17 Mar 2022 10:15:20 +0000 (18:15 +0800)
applications/luci-app-unblockneteasemusic/root/usr/share/unblockneteasemusic/rules/chain.uc

index 79d0d64..78a9091 100644 (file)
@@ -8,7 +8,8 @@ let pub_access = o_pub_access;
 
 {% if (pub_access == 1): %}
 chain input_wan {
-       tcp dport {{ http_port }}-{{ https_port }} counter accept comment "!fw4: unblockneteasemusic-pub-access"
+       tcp dport {{ http_port }} counter accept comment "!fw4: unblockneteasemusic-http-pub-access"
+       tcp dport {{ https_port }} counter accept comment "!fw4: unblockneteasemusic-https-pub-access"
 }
 {% endif %}