Skip to content

Instantly share code, notes, and snippets.

@dsecuma
Created March 25, 2020 18:43
Show Gist options
  • Save dsecuma/e4cc8a1fa1aef6e567ece376ddbc82b5 to your computer and use it in GitHub Desktop.
Save dsecuma/e4cc8a1fa1aef6e567ece376ddbc82b5 to your computer and use it in GitHub Desktop.
OpenWRT adblock snippet to block COVID-19 bad domains by CCN-CERT
config source 'ccncovid'
option adb_src 'https://loreto.ccn-cert.cni.es/index.php/s/oDcNr5Jqqpd5cjn/download?path=%2F&files=IOC_dominios.txt'
option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
option adb_src_desc 'Lista de dominios IOC sobre COVID-19'
option enabled '1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment