{"id":2650,"date":"2026-11-04T17:22:10","date_gmt":"2026-11-04T16:22:10","guid":{"rendered":"https:\/\/labalec.fr\/erwan\/?p=2650"},"modified":"2026-11-04T18:00:33","modified_gmt":"2026-11-04T17:00:33","slug":"block-ads-on-my-dd-wrt","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=2650","title":{"rendered":"block ads on my dd-wrt"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">startup command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -ks https:\/\/raw.githubusercontent.com\/StevenBlack\/hosts\/master\/hosts | grep \"^0.0.0.0\" &gt; \/tmp\/mvps<br>stopservice dnsmasq<br>startservice dnsmasq<br><br>dnsmasq additional options -&gt; addn-hosts=\/tmp\/mvps<br><br><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">cheap and dirty ad blocker for my dhcp clients<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">edit : <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">you can load more hosts and include raw lists as well<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  curl -ks https:\/\/raw.githubusercontent.com\/StevenBlack\/hosts\/master\/hosts | grep \"^0.0.0.0\"\n  curl -ks https:\/\/adguardteam.github.io\/HostlistsRegistry\/assets\/filter_2.txt | grep -v '^&#91;!#]' | awk 'NF {print \"0.0.0.0\", $NF}'\n} | sort -u > \/tmp\/mvps\n\nstopservice dnsmasq\nstartservice dnsmasq<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>startup command curl -ks https:\/\/raw.githubusercontent.com\/StevenBlack\/hosts\/master\/hosts | grep \u00ab\u00a0^0.0.0.0\u00a0\u00bb &gt; \/tmp\/mvpsstopservice dnsmasqstartservice dnsmasqdnsmasq additional options -&gt; addn-hosts=\/tmp\/mvps cheap and dirty ad blocker for my dhcp clients edit : you can load more hosts and include raw lists as well<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[148],"tags":[],"class_list":["post-2650","post","type-post","status-publish","format-standard","hentry","category-ddwrt","category-148-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/2650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2650"}],"version-history":[{"count":4,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/2650\/revisions"}],"predecessor-version":[{"id":2655,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/2650\/revisions\/2655"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}