ĐÂY LÀ SCRIPT CẤU HÌNH CHẶN TOÀN BỘ QUẢNG CÁO WEB

Bấm vào nút bên dưới để xem danh sách câu lệnh, sau đó copy dán vào terminal của Router Mikroitk là hoàn thành, chúc bạn thành công ! :

/ip dhcp-server network set 0 dns-server=[/ip dhcp-server network get 0 gateway]; /ip dhcp-server network set 1 dns-server=[/ip dhcp-server network get 1 gateway]; /ip dhcp-server network set 2 dns-server=[/ip dhcp-server network get 2 gateway]; /ip/dns/adlist/add url=https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts /ip dns set cache-size=20408KiB; /ip dns set allow-remote-requests=yes cache-size=20408 /ip firewall filter add chain=input protocol=tcp dst-port=53 action=drop in-interface=[/interface pppoe-client get ([find]->0) name]; /ip firewall filter add chain=input protocol=udp dst-port=53 action=drop in-interface=[/interface pppoe-client get ([find]->0) name]; :execute {/system reboot}