Skip to content

Instantly share code, notes, and snippets.

@AlexxIT
Last active August 23, 2019 10:16
Show Gist options
  • Save AlexxIT/b656c966858efc032cf2793ac8a402c3 to your computer and use it in GitHub Desktop.
Save AlexxIT/b656c966858efc032cf2793ac8a402c3 to your computer and use it in GitHub Desktop.
Блокировка рекламы на RouterOS
:local url "https://gist.githubusercontent.com/.../.../raw/.../hosts-500.txt";
/ip dns static remove [/ip dns static find address=127.0.0.1];
/tool fetch mode=https url=$url dst-path="adblock.rsc";
/import file-name="adblock.rsc";
@AlexxIT
Copy link
Author

AlexxIT commented Aug 23, 2019

Список адресов можно сформировать тут
https://stopad.cgood.ru/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment