you can enable ssh after you burn your sd card by going into the boot section an add a empty file and name it ssh (in Windows make sure it doesn't have the .txt extension).When the pi boots it will activate ssh for you and you can putty into the pi from another machine., without connecting all of the components.
Thx 4 the tutorial! I run pinhole on docker, running on Windows 10 pro. It works exactly the same but I’m just hosting Pihole on a Win PC inside a Docker container. It’s a good option for those that don’t have a raspberry pi and are more familiar with windows.
@2:11 it is CentOS. The non paid ( no personal support ) version of Red Hat which is directly supported by Red Hat. I'm surprised you don't know about this distro since it's very popular
Old comment, but DNS, or Domain Name System, is a way of resolving domain names into internet protocol (IP) addresses. Most DNS servers should work roughly the same, and resolve domain names correctly. However, some also track these requests when the request hits the server, so for privacy reasons, choosing a more open service reduces tracking.
I've never used a raspberry pi before. I was able to set this up in under an hour using raspbian and hook it up to my router to provide network wide ad and adult site blocking. I've since run into other guides explaining how to do it on the google cloud to provide the same service, but since its hosted publicly it can block even when on mobile networks. I might switch over and use my pi for a retro arcade console. Love this tutorial tho, it's very clear.
Thanks I wanted to install pi hole on my rasoberry pi 4 and this video help alot now my question is how do I host the block list file that you link too. To add the url in the web interface
Thanks, great tutorial! I've already installed pi-hole on my raspberry pi but I can't deal to block adds on TH-cam and some smartTV apps. Can you give us some tips about that?. Thanks in advance!
You will need to do a bit of research to see what url requests are pushing those ads and manually block them in the blacklist section. Your router may be able to keep a log of url requests. Check there to see if you can find some logs with useful data.
Sweet tutorial. Something I've been wondering is whether you can run pihole and a vpn out of the same pi, such that the vpn can be routed through the pihole as well. My use case would be connecting to my vpn if I'm on an open wifi and still be protected by the pihole. Thanks!
34:56 - Thats what my FireFox looks like across my Devices now, QUICK load up times... Startpage is still my default Search Engine! I'm looking at a RaspberryPi Zero Starter Kit!
You realy don't need monitor and keyboard. Put in the boot section of the sd-card a blanco file ssh. (touch -f ssh). Start up your raspeberry and you can ssh into it with ssh pi@ipaddress and paswoord = raspberry. If you use dietpi instead of raspbian, you can set all things you need in the boot partition in dietpi.config. I use pi zero w and al of the wireless stuff goes in the config file.
If you're using raspbian, you can create a file named 'wpa_supplicant' in the boot partition, input your WiFi credentials and it will connect to that network. I have never used adapters for my Zero... Iwww.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
Thanks for the tutorial! I want to apply this network wide too, but I'm just starting to learn web development and on my personal desktop i need the traffick from just Google Chrome to be unfiltered (for page inspection, and to have the page style as was meant to be displayed) Is it possible to whitelist one single browser from all home network or at least my whole pc, leaving my wife's and all other devices be under the pihole? (I guess i could set every device individually via dns but would be a pain...)
question about "static domain_name_servers=127.0.0.1" You are saying use the DNS configured / defined on this machine being the pihole that goes to the quad9 dns server. as far is i can tell / understand. could one say use the 192.168.1.1 so that it uses the router one.. and that one uses what ever it already uses ???? question related to time stamp is 22:30
@@SwitchedtoLinux thanks.. that helps.. going to test it a vm first. Currently i'm trying to determine how much mem would be enough 2gb or 4gb ? i believe the 8gb pi4 is overkill. as far as i can tell pihole needs 512mb to run. but no one mentions the services that need to run to manage it via browser.. still am i correct in thinking 2Gb will be enough ?
So @Switched to Linux, I am confused, are you running this and PFsense or just the Pi-Hole? If both what is doing what? I'm trying to setup a PFsense box and I am not sure if I have it setup right but seems to be working. I been following Lawrence Systems and I do have trouble following him at times.... So I am not sure that i have it right. Yes I watched your videos too and I am not sure on them too... :-) Maybe you could do a update video on setting up PfSense the easy way... Lol Thanks Tom... LLAP
For this tutorial, I took pfsense off the network and ran the old commercial router so you can see how to setup pihole with a commercial router. I do have a whole playlist on pfsense: th-cam.com/video/_lnoiqFPLEI/w-d-xo.html
I run pfsense and can confirm there's no need to run pi-hole with pfsense. Pfsense user pfblocker-ng among other services to control what comes and goes out of your network. Take a look at pfblocker, surricata or snort
Is it better to install it on my main Debian system or should I use a separate VM? I don't have Raspberry Pi so I'll use my laptop, I only have two devices (laptop + phone).
I keep running into this issue during the option to select block lists. I never have the same amount of lists as the video. Does anyone know why that could be?
My OS for my RPi is ubuntu with 18.x. and installed PiHole. Once that's set up. Seeing things from the dashboard that some of the queries getting block. But when testing ads-blocker.com/testing/. I still see the two ads. If I make my OS raspbian will it make any difference? Thank you.
Probably not because the OS does not determine the block, but the lists. See if you can find the source of the remaining ads and block those directly in the blocklist.
By chance you don't have an block list for tiktok do you? Have found even tho have blocked many of the links that it uses the app still shows texts and sometimes letting something thru sigh this is an big one would like to get rid off.
@Switched to Linux, this has been quite helpful. I "Linux Deploy"ed ubuntu on a not so old rooted Android phone with SSH enabled. And installed pi-hole. With the naive expectation that the linux (ubuntu) instance is a full-fledged computer. Turned out I am not able to use it as a pi-hole server (after getting over multiple annoying hurdles). The pi-hole admin page just gives 403 - Forbidden. Don't feel like giving up yet.. I could have written a simple dns server app in NodeJS (if I get all those ad server source lists) and always run it on my windows machine. But the thought that I have a perfectly fine Android phone, which is not really needed for any other purpose, just wants me to make use of it as a pi-hole server. (I am not usually a Linux user. Used it back in 2007 and that's it) Any suggestions would be greatly appreciated
Hi, I keep getting 'DNS resolution is currently unavailable' during installation. Using a new Raspberry pi 4 and new Pi buster with desktop, nothing else. Installation won't complete. Tried it over wifi and cabled, doesn't matter.
It's trivial to capture a raspberry pi by remoting in to it and recording that output in OBS or whatever. This immediately breaks this video and makes it more complicated and confusing than it needs to be. Thumbs down.
What are you talking about? This video setup is EXACTLY how you do this. PiHole is NOT a GUI system that you plug your monitor directly into it to make it work. It is only a network based tool where the only management engine is a web browser. As for SSH in near the beginning, there is ZERO difference between that and doing the setup directly connected to it. I think you may need some more training on network-based computing tools.
How do you type the "|" pipe symbol on a US keyboard? You mentioned changing the keyboard layout, but you never demonstrated it using the command line. Edit found the solution: th-cam.com/video/L1F-TxTPyiM/w-d-xo.html Make sure to read the description though in order to start typing in the command line.
you can enable ssh after you burn your sd card by going into the boot section an add a empty file and name it ssh (in Windows make sure it doesn't have the .txt extension).When the pi boots it will activate ssh for you and you can putty into the pi from another machine., without connecting all of the components.
Thx 4 the tutorial! I run pinhole on docker, running on Windows 10 pro. It works exactly the same but I’m just hosting Pihole on a Win PC inside a Docker container. It’s a good option for those that don’t have a raspberry pi and are more familiar with windows.
@2:11 it is CentOS. The non paid ( no personal support ) version of Red Hat which is directly supported by Red Hat. I'm surprised you don't know about this distro since it's very popular
Dude. You read my mind. I’ve been meaning to research this since Sunday. Bam! You got a video. Nice!!
Another tutorial for advanced users.
best video on set up ive seen great job
Do you have a video where you explain those DNS options? Everyone else just says use Google. Would like to see a vid explaining more about DNS.
Old comment, but DNS, or Domain Name System, is a way of resolving domain names into internet protocol (IP) addresses. Most DNS servers should work roughly the same, and resolve domain names correctly. However, some also track these requests when the request hits the server, so for privacy reasons, choosing a more open service reduces tracking.
I've never used a raspberry pi before. I was able to set this up in under an hour using raspbian and hook it up to my router to provide network wide ad and adult site blocking. I've since run into other guides explaining how to do it on the google cloud to provide the same service, but since its hosted publicly it can block even when on mobile networks. I might switch over and use my pi for a retro arcade console.
Love this tutorial tho, it's very clear.
Thanks I wanted to install pi hole on my rasoberry pi 4 and this video help alot now my question is how do I host the block list file that you link too. To add the url in the web interface
Thanks, great tutorial! I've already installed pi-hole on my raspberry pi but I can't deal to block adds on TH-cam and some smartTV apps. Can you give us some tips about that?. Thanks in advance!
You will need to do a bit of research to see what url requests are pushing those ads and manually block them in the blacklist section. Your router may be able to keep a log of url requests. Check there to see if you can find some logs with useful data.
Turn off targeted adds in your google/youtube account. Worked for me- all ads are now blocked (Y)
great explanation, helped me a lot. thank you
That Incon in the middle is CentOS which is great for server purpose
Sweet tutorial. Something I've been wondering is whether you can run pihole and a vpn out of the same pi, such that the vpn can be routed through the pihole as well. My use case would be connecting to my vpn if I'm on an open wifi and still be protected by the pihole. Thanks!
That sounds like a fun question....maybe I will test it out! Supporter requested video, perhaps...
I've done just that with Pi Hole on a Raspberry Pi Zero W and OpenVPN server on pfSense. It works!
Pi-hole Web Server shows the old static IP even you change to a new location. To modify that you need to edit, on /etc/pihole/setupVars.conf
How do I host the txt file so i can give the pi hole a link to add it to the blocklist?
34:56 - Thats what my FireFox looks like across my Devices now, QUICK load up times... Startpage is still my default Search Engine!
I'm looking at a RaspberryPi Zero Starter Kit!
You should ditch Startpage. They're evil!
You realy don't need monitor and keyboard. Put in the boot section of the sd-card a blanco file ssh. (touch -f ssh).
Start up your raspeberry and you can ssh into it with ssh pi@ipaddress and paswoord = raspberry. If you use dietpi instead of raspbian, you can set all things you need in the boot partition in dietpi.config. I use pi zero w and al of the wireless stuff goes in the config file.
If you're using raspbian, you can create a file named 'wpa_supplicant' in the boot partition, input your WiFi credentials and it will connect to that network. I have never used adapters for my Zero... Iwww.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
I cant get past the first step. when i type in 'curl -sSL install.pi-hole.net | bash' i get the message 'bash: line 1: 500:: command not found'
Is curl installed? If you are unsure, do sudo apt install curl
@@SwitchedtoLinux It worked. I think the server went down for a couple hours. thanks for the reply. excellent videos.
Just so everyone knows, on the default keyboard layout, the | is fn ~
I thought it was UK...did they change it or am I wrong about that?
And @ is swapped with "
How to I get it to block ads on the Yt app on IOS? It works for the phone browser and game apps ads but doesnt kill Yt app ads.
Thanks for the tutorial!
I want to apply this network wide too, but I'm just starting to learn web development and on my personal desktop i need the traffick from just Google Chrome to be unfiltered (for page inspection, and to have the page style as was meant to be displayed)
Is it possible to whitelist one single browser from all home network or at least my whole pc, leaving my wife's and all other devices be under the pihole?
(I guess i could set every device individually via dns but would be a pain...)
how can i connect my pi to my internet via wifi then out the rj45 to a router with pi hole in the middle
thanks
Why??
Hey,
at 23:47 you say "exit out of the file" but don't show how. I'm a noob at that, and I'm stuck there.
I didn't see a file exit on that timestamp. Sorry this is an old video. If it was in Nano (Terminal), Ctrl+X and save the file.
@@SwitchedtoLinux Thank you! Ctrl+X work.
Edit : Sorry, you're right. Wrong timestamp, it was 23:47. (And not 28:47)
question about "static domain_name_servers=127.0.0.1"
You are saying use the DNS configured / defined on this machine being the pihole that goes to the quad9 dns server. as far is i can tell / understand.
could one say use the 192.168.1.1 so that it uses the router one.. and that one uses what ever it already uses ????
question related to time stamp is 22:30
The router may not be running a DNS server. You would only point to the router if it is running a DNS server.
@@SwitchedtoLinux thanks.. that helps.. going to test it a vm first. Currently i'm trying to determine how much mem would be enough 2gb or 4gb ? i believe the 8gb pi4 is overkill. as far as i can tell pihole needs 512mb to run. but no one mentions the services that need to run to manage it via browser.. still am i correct in thinking 2Gb will be enough ?
I have a pi 4 which i want to use for other things, would this sit lightly on top, or better to have a dedicated device?
So @Switched to Linux, I am confused, are you running this and PFsense or just the Pi-Hole? If both what is doing what? I'm trying to setup a PFsense box and I am not sure if I have it setup right but seems to be working. I been following Lawrence Systems and I do have trouble following him at times.... So I am not sure that i have it right.
Yes I watched your videos too and I am not sure on them too... :-)
Maybe you could do a update video on setting up PfSense the easy way... Lol
Thanks Tom...
LLAP
For this tutorial, I took pfsense off the network and ran the old commercial router so you can see how to setup pihole with a commercial router.
I do have a whole playlist on pfsense:
th-cam.com/video/_lnoiqFPLEI/w-d-xo.html
I run pfsense and can confirm there's no need to run pi-hole with pfsense. Pfsense user pfblocker-ng among other services to control what comes and goes out of your network. Take a look at pfblocker, surricata or snort
Helpful video. How do you upload the host file in PiHole?
Can We Make a Cloud as PIED PIPPER DID? I mean that if we can really leave amazon or azure webservices to spend less money making our own cloud?
Is it better to install it on my main Debian system or should I use a separate VM?
I don't have Raspberry Pi so I'll use my laptop, I only have two devices (laptop + phone).
Great Video!! Thanks
I keep running into this issue during the option to select block lists. I never have the same amount of lists as the video. Does anyone know why that could be?
yep. I see just two black lists . Looks like pihole may have secretly removed most blacklists
Probably the reason no ads are blocked when I set it up
My OS for my RPi is ubuntu with 18.x. and installed PiHole. Once that's set up. Seeing things from the dashboard that some of the queries getting block. But when testing ads-blocker.com/testing/. I still see the two ads. If I make my OS raspbian will it make any difference? Thank you.
Probably not because the OS does not determine the block, but the lists. See if you can find the source of the remaining ads and block those directly in the blocklist.
Will this work with EEROS and their subscription service to block on a mac network ?
By chance you don't have an block list for tiktok do you? Have found even tho have blocked many of the links that it uses the app still shows texts and sometimes letting something thru sigh this is an big one would like to get rid off.
Is it a DNS server ? And does cache dns locally ?
Yes and it can be turned off.
@Switched to Linux, this has been quite helpful.
I "Linux Deploy"ed ubuntu on a not so old rooted Android phone with SSH enabled. And installed pi-hole.
With the naive expectation that the linux (ubuntu) instance is a full-fledged computer. Turned out I am not able to use it as a pi-hole server (after getting over multiple annoying hurdles). The pi-hole admin page just gives 403 - Forbidden. Don't feel like giving up yet..
I could have written a simple dns server app in NodeJS (if I get all those ad server source lists) and always run it on my windows machine. But the thought that I have a perfectly fine Android phone, which is not really needed for any other purpose, just wants me to make use of it as a pi-hole server. (I am not usually a Linux user. Used it back in 2007 and that's it)
Any suggestions would be greatly appreciated
Update - I gave up on the Android phone. Using a RPi 2B with ethernet that's sitting around. Result: No ads are blocked after I setup pihole.
Hi, I keep getting 'DNS resolution is currently unavailable' during installation. Using a new Raspberry pi 4 and new Pi buster with desktop, nothing else. Installation won't complete. Tried it over wifi and cabled, doesn't matter.
Which DNS provider did you pick?
@@SwitchedtoLinux first Google, later tried others but didn't matter.
After the installation failed, the Pi could not connect to the internet anymore.
Best Video on TH-cam ever ! :P
what's wrong with cloudflare?
Turn off logging! That would explain how it worked for 2 hours and stopped. Thank you!
Does Pi-hole block TH-cam ads on mobilephone?
Yes if you are using all the adblockers
@@SwitchedtoLinux What do you mean by adblockers? is it Adblock plugin for browsers?
What's your recommended TTL settings?
The guy in the middle is CentOS.
Can I run this along side with samba on the same P i?
Most likely. PiHole takes very little memory.
Would this be better than using open dns family shield on a router?
I don't know anything about the open DNS family Shield, so I am not sure. But this is free, easy, and highly customizable.
Yes because you can block websites that you chose (I.e. Facebook, Twitter) and not just the generic sites Open DNS (Cisco) has chosen.
so how do i stop firefox from getting around pihole
Why no one talk about the Rassberry Pi cards from zero to 4B which one is better for Pi-Hole
Why do you say ivp4 ivp6?
Solaris /oracle
Can I block certain youtube channels with pi-hole?
Uh not recognising CentOS logo hurts haha. xD
LOL. It is one I have used a lot, but never had to interface with their assets.
The Guy in the middle is CentOS. :p
what the hell is ivp?
Raspbian, not Raspbarian!
Rasperian
They fixed Doh bypassing in the newest version.
Do you have a link with some info. I could not find anything on that.
@@SwitchedtoLinux I couldn't find the Reddit post anymore but here is the GitHub issue:
github.com/pi-hole/pi-hole/pull/2915
It's trivial to capture a raspberry pi by remoting in to it and recording that output in OBS or whatever. This immediately breaks this video and makes it more complicated and confusing than it needs to be. Thumbs down.
What are you talking about? This video setup is EXACTLY how you do this. PiHole is NOT a GUI system that you plug your monitor directly into it to make it work. It is only a network based tool where the only management engine is a web browser.
As for SSH in near the beginning, there is ZERO difference between that and doing the setup directly connected to it. I think you may need some more training on network-based computing tools.
Raspbian not Raspberian.
Like Debian a lot
How do you type the "|" pipe symbol on a US keyboard? You mentioned changing the keyboard layout, but you never demonstrated it using the command line.
Edit found the solution: th-cam.com/video/L1F-TxTPyiM/w-d-xo.html
Make sure to read the description though in order to start typing in the command line.
Stopped watching because you keep saying raspberian and also because you said I need a monitor and a mouse.
Well, for doing a tutorial, I do need a monitor and a mouse...setting it up on my own, I do not.
what the !!!!
You don't know what CentOS is ???
and yet your channel is Switch to Linux
hahahahaha