Acris / shadowsocks-asuswrt-merlin

Shadowsock for Asuswrt-Merlin New Gen
MIT License
255 stars 44 forks source link

Custom setup for ss-merlin rules #56

Closed MernovG closed 4 months ago

MernovG commented 5 months ago

Hi, can you advice how to configure scripts to pass only a few domains ? As long as I see it syncs to the global rules, and it overwrites my configs. I wiped everything out, from every rules files, and put my domains to gfw rules file. But after a while, it was overwritten by the default rules.

Acris commented 5 months ago

You can try to delete below cron jobs:

  cru a check-services-alive "* * * * *" "$SS_MERLIN_HOME/scripts/start_all_services.sh"
  cru a check-iptables-rule "*/5 * * * *" "$SS_MERLIN_HOME/scripts/apply_iptables_rule.sh"
  cru a update-ip-whitelist "15 2 * * *" "$SS_MERLIN_HOME/scripts/update_ip_whitelist.sh"
  cru a update-dns-whitelist "15 3 * * *" "$SS_MERLIN_HOME/scripts/update_dns_whitelist.sh"
  cru a update-gfwlist "15 4 * * *" "$SS_MERLIN_HOME/scripts/update_gfwlist.sh"
  cru a upgrade-ss-merlin "20 6 * * *" "$SS_MERLIN_HOME/tools/upgrade.sh"