{"id":176,"date":"2021-03-11T21:44:28","date_gmt":"2021-03-11T20:44:28","guid":{"rendered":"https:\/\/www.cbulon.nl\/?p=176"},"modified":"2021-03-17T21:45:53","modified_gmt":"2021-03-17T20:45:53","slug":"put-the-negativity-in-the-pi-hole","status":"publish","type":"post","link":"https:\/\/www.cbulon.nl\/?p=176","title":{"rendered":"Put the negativity in the Pi-Hole"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"88\" height=\"130\" src=\"https:\/\/www.cbulon.nl\/wp-content\/uploads\/2021\/03\/pihole.png\" alt=\"\" class=\"wp-image-245\"\/><\/figure>\n\n\n\n<p>If you want to surf easily through the internet, you have installed an AdBlocker for sure! If not, this is a free tip \ud83d\ude42 You can install an AdBlocker as an add-on in your browser. But unfortunately advertisement on webpages is not the only advertisement we are seeing. No, we see it in YouTube, Google, Facebook, in our Apps on our phones and even sometimes on our tv&#8217;s. The crazy thing is that my kids are installing a lot of free games on their phones and are getting a lot of advertisements. Sometimes not even for kids&#8230;  Next to that I want to block some website, in case they are mistakenly going to wrong places. Luckily there is a solution for that and it is FREE!! It is called Pi-Hole which is a DNS advertisement blocker and in this blog I am going to explain how I installed it on my network.<\/p>\n\n\n\n<p>In my Proxmox environment I created a new container with Ubuntu 16.04. I configure 4GB of storage, 1 CPU, 1GB Memory and I configure a static IP address. This must be a static IP address because it is going to be the future DNS of all my devices. <\/p>\n\n\n\n<p>After creating the Ubuntu container, login via SSH<br># ssh root@ipaddress<\/p>\n\n\n\n<p>NOTE: if you cannot login via SSH because of error &#8220;Permission denied, please try again.&#8221;, then go to the CLI on the Proxmox server and edit the file \/etc\/ssh\/sshd_config<br># nano \/etc\/ssh\/sshd_config<br>Change option &#8220;PermitRootLogin&#8221; to &#8220;yes&#8221;<br>Restart SSH service<br># systemctl restart ssh<\/p>\n\n\n\n<p>Update system<br># sudo apt-get update<br># sudo apt-get upgrade -y<\/p>\n\n\n\n<p>Setup your timezone<br># sudo dpkg-reconfigure tzdata<br>In my case, I choose Europe &#8211; Amsterdam<br># sudo apt install ntp -y<br># service ntp status<br># date<br>Check if the date\/time is correct<\/p>\n\n\n\n<p>Install Pi-Hole<br># apt install curl<br># curl -sSL https:\/\/install.pi-hole.net | bash<br>Follow the installation wizard, I only mention the one&#8217;s which I change<br>Select Upstream DNS Provider &#8211; Google<\/p>\n\n\n\n<p>After the installation is completed, you receive an overview of the settings and password.<br>You can go to the Pi-Hole website <br># https:\/\/ipaddress\/admin<\/p>\n\n\n\n<p>Change password to something you can remember \ud83d\ude42<br># sudo pihole -a -p<\/p>\n\n\n\n<p>Last step is to add this IP address as your primaire DNS in your router.<\/p>\n\n\n\n<p>Have fun on the internet without crazy advertisements \ud83d\ude42<\/p>\n\n\n\n<p>Update: If you don&#8217;t see any activity after some time, update your grafity.<br>Go to your Dashboard<br>Login<br>Tools<br>Update Grafity<br>Update<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to surf easily through the internet, you have installed an AdBlocker for sure! If not, this is a free tip \ud83d\ude42 You can install an AdBlocker as an add-on in your browser. But unfortunately advertisement on webpages is not the only advertisement we are seeing. No, we see it in YouTube, Google, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.cbulon.nl\/?p=176\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Put the negativity in the Pi-Hole&#8221;<\/span> verder lezen<\/a><\/p>\n","protected":false},"author":1,"featured_media":245,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[60,58,59,57],"_links":{"self":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts\/176"}],"collection":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=176"}],"version-history":[{"count":6,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions"}],"predecessor-version":[{"id":248,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions\/248"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/media\/245"}],"wp:attachment":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}