Update README.md

This commit is contained in:
pwlgrzs 2018-10-05 23:57:37 +02:00 committed by GitHub
parent 186bfd68ab
commit eff0ff41a3

View file

@ -11,10 +11,10 @@ and reformat it to allow automatic import to MT routers.
Run following to your MT device with not less that 7d schedule:
Download script:
`/tool fetch url="https://raw.githubusercontent.com/pwlgrzs/Mikrotik-Blocklist/master/blacklist.rsc" mode=https;`
`/tool fetch url="https://raw.githubusercontent.com/pwlgrzs/Mikrotik-Blocklist/master/blacklist.rsc" mode=https`
Install script:
`/ip firewall address-list remove [find where comment="blacklist"]
/import file-name=blacklist.rsc;`
`/ip firewall address-list remove [find where comment="blacklist"]
/import file-name=blacklist.rsc`
You'll also need firewall rule:
`/ip firewall filter add chain=input action=drop connection-state=new src-address-list=blacklist in-interface=<REPLACE>`