BLOCK EVERYTHING w/ PiHole on Docker, OpenDNS and IFTTT

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 853

  • @NetworkChuck
    @NetworkChuck  4 года назад +46

    Start mastering IT skills NOW!: bit.ly/nc-cbt-2020
    Watch Part 1: ruclips.net/video/BSplICgr7iU/видео.html
    ➡️Support NetworkChuck: bit.ly/2XPaF7u
    ➡️Need help? Join the community: bit.ly/nc-discord
    PiHole Docker script: bit.ly/pihole_script
    Download SolarPUTTY: bit.ly/usesolarputty
    What is Docker??: ruclips.net/video/eGz9DS-aIeY/видео.html
    1:43 ⏩ Preparing Ubuntu for Docker/PiHole
    4:06 ⏩ Install Docker
    4:32 ⏩ Deploy the NetworkChuck PiHole Container
    8:15 ⏩ Configure PiHole
    10:41 ⏩ Alexa, IFTTT and PiHole

    • @flipoutdomination6452
      @flipoutdomination6452 4 года назад

      How do you block yt ads

    • @X.MillennialResponder.X
      @X.MillennialResponder.X 4 года назад

      I would do DoH+ unbound dns with cloudflare as a backup for better security and privacy

    • @xD3S1x
      @xD3S1x 4 года назад +1

      Hey Chuck, could you do video on running PiHole + Unbound + Wireshark in containers please? I'm trying to set them up on Raspberry Pi 4 but can't find any good tutorials. Thanks.
      Love your videos and just subscribed.

    • @J4xx88
      @J4xx88 4 года назад +2

      Hey Chuck, I totally love your videos but please respond to the issue that a Cloud-DNS is very bad practice!

    • @boris_dev
      @boris_dev 4 года назад

      hello all links for me "Access Denied"
      I know that there is vpn but is there a way to get around without vpn
      thank

  • @uraniumu242
    @uraniumu242 Год назад +23

    I’m 68 spent my life in IT. Never stop learning because this stuff is transformational, exciting time to b alive at any age!

  • @davidchen1792
    @davidchen1792 2 года назад +13

    I watched this video of yours like 20 times over the course of a year or so.
    Even today, I still came back to check some steps which I've forgotten. Thank you, Chuck.
    I've been running pi-hole at my home in a virtual machine. Happy user so far.

    • @NetworkChuck
      @NetworkChuck  2 года назад +2

      Love this. That’s so cool David!!

  • @pixelrangerstudio86
    @pixelrangerstudio86 4 года назад +193

    imagine having a dinner with this guy: this chicken is purrreeee magic! I love it!!!! it's AMAZING!

    • @jerryarciaga5016
      @jerryarciaga5016 4 года назад +30

      you need to eat this chicken RIGHT NOW!

    • @pixelrangerstudio86
      @pixelrangerstudio86 4 года назад +2

      @@jerryarciaga5016 😂😂😂😂😂

    • @jedidiahwilliamson6147
      @jedidiahwilliamson6147 3 года назад +3

      I don't know if I could handle cooking for him though, hearing positive feedback would confuse me. All my family say is its ok then waits 45 minutes and discusses everything that could have been better. Sorry brought up sore subject.

    • @matthfarre11
      @matthfarre11 Год назад +1

      ​@@jedidiahwilliamson6147 id probably stop cooking until they start appreciating 🤔

  • @balloney2175
    @balloney2175 10 месяцев назад

    Hey Chuck, when you talk it is like you are 3 feet away from were I am, you are never boring.

  • @JR34MZ
    @JR34MZ 4 года назад +4

    I would like to mention this, in case anyone has trouble - That if you end up having your pi behind NAT and setup a port forward respectively. Unless you have a static IP on your home network, this can change frequently depending on your ISP. I believe something like dynamic DNS would allow you to make calls to your webhook, without having to constantly update your WAN IP/Port Forward on your router. Food for thought! Thanks for the video Chuck. Best wishes!

  • @gbshahaq
    @gbshahaq 4 года назад +12

    Love the way you explain the commands as you go - awesome presentation skills Chuck. And genuinely useful content :)

  • @dustinclark6078
    @dustinclark6078 4 года назад

    CBT Nuggets is phenomenal! Being able to help coworkers with some of their tech problems is such a great feeling! Just this morning I saw someone with issues with the network printer and found out it didn't have an IP address. Low and behold it had a broken/loose ethernet cable! 30 seconds later I'm "the IT hero" at work!

  • @alexatv4215
    @alexatv4215 Год назад +4

    it didnt work for me i got this error: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested

  • @kibagami25
    @kibagami25 4 года назад +13

    omg finally. I've been waiting for this video since you did a opendns video.

  • @yurivasco
    @yurivasco 4 года назад +4

    I had basically this same setup, but recently moved from PiHole to Adguardhome. With adguardhome you can set upstream DoH, and I'm using OpenDNS DoH. It's great. I even installed a second instance of AdguardHome inside my Unifi Cloudkey, for DNS redundancy at my LAN

  • @MichaelNorthThe_Atom
    @MichaelNorthThe_Atom 4 года назад +5

    So I only just discovered this channel, and I love it. So much fun; so engaging. Just amazing!

  • @-Hazor-
    @-Hazor- Год назад +1

    Kids at home, "Alexa, unblock my stuff" Thanks for the video Chuck

  • @Tom-n5tti
    @Tom-n5tti 4 года назад +18

    Love my Pi-Hole.... between it and openDNS .... made our home internet a whole lot more family friendly!

    • @unLinuxeroMas
      @unLinuxeroMas 3 года назад

      but they can use dns over https and skip the filter i am looking a way to block that

  • @andresfranco1331
    @andresfranco1331 4 года назад +10

    Hey Chuck, nice and practical tutorials related to docker. Please continue to produce more content on this.

  • @feiwoza
    @feiwoza 6 месяцев назад

    Thanks Chuck -- after 4years, your bash script is still solid !

  • @rafaelg0225
    @rafaelg0225 3 года назад +5

    This is why I love development, there is always something new to learn... So I was watching your video and realized I can containerize my app and expose it forwarding the port to the internet which is much easier than using ngrok or some other tunneling tool.. thanks man

    • @NeumsFor9
      @NeumsFor9 Год назад

      I think VSCode just added the ability to port forward as well, making the dev and deployment experience that much easier.

  • @lifeslooker
    @lifeslooker 4 года назад +1

    Thank you Chuck for this; had a little difficulty pointing the docker container/ DNS to my router, but it works now with over 8.5k requests in Pi-Hole!!!! The search is so much faster. Excellent tweaks. Thank you for this tweak of genius and a happy new year to you too sir. May you and your family be continuously blessed.

    • @dishangmehta4397
      @dishangmehta4397 2 года назад

      Can you please help me?
      I am having trouble with docker container as well
      I installed pihole in a docker container on AWS.. so can I access it using private IP address like he did in this video?

  • @Lucino76
    @Lucino76 Год назад

    Ciao Chuck!!! WOW! Please continue to produce more content on this!Love it!

  • @MeggaMortous
    @MeggaMortous 4 года назад +3

    For someone who hasnt touched many of these stuff other than linux, you made it sound pretty well easy! Thanks

  • @Saljen
    @Saljen 4 года назад

    I'm so happy that CBT Nuggets is sponsoring you now that you've moved on to doing your own thing. That's amazing!

  • @jaronmc
    @jaronmc 4 года назад +3

    Stupid question: if the IP address is publicly accessible, what's to stop someone using that URL to trigger the block/unblock commands? Is there a way to authenticate who invokes the URL commands?

    • @arturopineiro6733
      @arturopineiro6733 4 года назад +2

      It's not a stupid question. Nothing is stopping someone else to trigger the command. There must be a way to authenticate but I don't know how.

    • @moustafakaid3904
      @moustafakaid3904 4 года назад

      That was exactly what I’m going to do HaHa

    • @philmcgroin1661
      @philmcgroin1661 4 года назад

      Use pi hole on your home network and write a script to block/unblock , never buy Alexa or any other spy ware !!

  • @DaveWrightKB9MNM
    @DaveWrightKB9MNM 4 года назад +1

    So I stumbled across your channel a few weeks ago. I love watching you tinker and the way you explain things. That encouraged me to go to school for cybersecurity or programming, Im not sure yet, but thank you!

  • @emraldxd6797
    @emraldxd6797 Месяц назад

    At first, I was a bit skeptical of docker as I had to download it to solve a programming issue I had with google collab for my robotics programming. Now, seeing it can be run on a raspberry pi, having a container for a pihole, Anki vector wirepod, AND OctoPrint, this is OFFICIALLY my new favorite thing.

  • @MattScoville
    @MattScoville 4 года назад +19

    Please share the network.py file outside of the docker image.

  • @JC-th5gc
    @JC-th5gc 2 года назад +2

    Granted this is well after the fact, but trying to follow along earlier this week, I'm noticing that if you change resolv.conf on Ubuntu 20.04, once your host machine reboots, it's going to break resolv.conf. Using ls will show it in red, and if you try to open it in an editor, the file will be empty. Has anyone found a safe way to do this in 20.04?

  • @MohammadIfam1
    @MohammadIfam1 7 месяцев назад

    Hands down one of the best vids out there

  • @astarala
    @astarala 4 года назад +5

    when you run the script, it downloads everything and at the end, this error appears.
    .Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"

    • @sk3tch4d
      @sk3tch4d 4 года назад +1

      Same issue here.. any luck with this?

    • @phreak61
      @phreak61 4 года назад +1

      ditto same issue i had today!!

    • @stealinglight
      @stealinglight 4 года назад +1

      same boat

    • @sayubu
      @sayubu 4 года назад

      same issue and I tried it on two different servers

    • @phreak61
      @phreak61 4 года назад

      I had success. I started a new ubuntu server with the latest iso, I made sure to do the DNS fix on ubuntu before installing anything else, then followed the steps exactly.

  • @YannMetalhead
    @YannMetalhead 3 года назад

    Dude, you're the best teacher I ever saw. Congratulations!

  • @Rienck
    @Rienck 3 года назад +5

    Nice tutorial man! I like it a lot. The only thing that's a bit unnecessary is using sudo while being root.

  • @christopherfranken2264
    @christopherfranken2264 4 года назад +6

    Does anyone know the wizardry behind the network.py. I found out that I can't use the docker Chuck created because a PI runs ARM and the one he created is AMD. Thanks

  • @benjaminjackson5194
    @benjaminjackson5194 4 года назад +1

    Thank you! Just brought my Linode based Pi hole online and working with google assistant. Its working great!

  • @ShadySayed
    @ShadySayed 4 года назад +17

    Love the video. but this is a bit insecure, as now anyone can block/unblock your DNS just by knowing the IP address of your server.

    • @Noulis7
      @Noulis7 4 года назад

      I am still building my Python Virtual Assistant (which already includes her own IFTT :P) so i haven't tested this as it is further in my automation plans, but i suspect that if you logout from the PiHole webpage the command won't work (just a guess). Otherwise as i did with mine, make your commands or scripts work only if your smartphone is connected to the internal network (because nowadays smartphone is our 3rd hand) so if you are not home the command won't execute (still i am talking with a custom python program on my mind, i have never used Alexa or any other Virtual Assistant).

    • @ShadySayed
      @ShadySayed 4 года назад +1

      @@Noulis7 Logging out won't help as the the shell script talks directly to the PiHole. You can always make things only work if your phone is on your network and have your phone VPN back to your home. I do that as it also makes my phone use PiHole to block ads while I am away from home.

  • @gumbajajeb
    @gumbajajeb 3 года назад +1

    Hi Chuck, could you please provide information how to update pihole container to the newest version, as this one is quite old already?

  • @jonathan.sullivan
    @jonathan.sullivan 3 года назад

    RUclipsr knows how he gets fed, doesn't block RUclips.
    Also add unbound as your upstream in pi-hole and keep your DNS queries local and direct.

  • @cbaldeon
    @cbaldeon 3 года назад

    I am trying to do it on my raspberry pi 3B+. I already installed pihole and it is working on my network, however, now I am following the video on 12:20. How can I create the file network.py on my network folder that I just created?

  • @maxzet368
    @maxzet368 4 года назад +5

    when running that script i always get that error:
    .Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
    do you or anybody know how to fix that?

  • @josecintron85
    @josecintron85 4 года назад +3

    Nice video... One question though. What changes did you made to the standard pi-hole docker container?

  • @ruszomalkuko
    @ruszomalkuko 4 года назад +4

    "I became a network engineer"
    "I have courses"
    uses sudo when root because this video is EDUCATIONAL!

  • @rishabincloud
    @rishabincloud 4 года назад +11

    Who types the complete file name? I am so thankful to 'TAB'

    • @ArtisticallyEligible
      @ArtisticallyEligible 4 года назад +2

      some people may do this because it can help them type even faster (practice). in a field where there's a lot of typing non-specific things and characters, it doesn't seem like a bad idea; or for just educational purposes (people wanting full details to understand)

    • @TheBadchenn
      @TheBadchenn 4 года назад +1

      Auto-complete is not native unix functionality so many users may not have the feature unless they set it up.

    • @deViant14
      @deViant14 3 года назад

      @@TheBadchenn what? I've never used linux without tab completion and that includes alpine linux, gentoo, debian, Ubuntu, SUSE, mandrake, Bunsenlabs, DarwinX86, FreeBSD, OoenBSD, ChromeOS, adb, HP-UX, and several more.

  • @WJ6FRadio
    @WJ6FRadio 4 года назад

    Not too sure if this is the right area..... I have a teenager who prefers to shop online instead of doing homework, and wondering if blocking ads or redirecting her back to her homework, i.e Google Docs, can be done all on one Raspberry Pi 4 or do I need two of them? Can specific URL's be redirected to a URL of my choosing? Also any recommended videos to make this happen? I am not the IT guru of the century.... Only have A+.

  • @TN-cx4qi
    @TN-cx4qi 4 года назад +1

    Why not use sudo su and put in the commands that you want and exit from it? Sorry if it's been answered before just getting back into linux and that's what I always used to do.

  • @FernandoDCDuarte
    @FernandoDCDuarte 3 года назад

    Great stuff!
    Linked it to Android Assistant instead of Alexa (due to what I'm running on my phone and Google Nest speakers)
    Works like a charm!!

  • @donamato
    @donamato 4 года назад +1

    great video! but how do you secure the external URL ? surely anyone can browse to it and block your internet ?

  • @aihammostafa9045
    @aihammostafa9045 4 месяца назад

    I had some errors following this but I decided to get portainer, I always thought it’s just some fancy stuff I don’t need it but man it make things really easier for me, and I managed to get pinhole running, your ollama video is the reason I started my home lab thing and now I have (pihole, nginx proxy manager, portainer, Nextcloud, ollama, jellyfinn, bitwarden vault, tailscale, moonlight for remote control “I know there are better stuff probably but I’m gonna use some gpu intense softwares and this is made for gaming so it should work for stuff like solidworks”, and soon authelia) thanks for the inspiration your channel is a hidden gem fr

  • @marifhossain
    @marifhossain 3 года назад

    This guy is amazing! Fun to watch how he makes such boring Linux stuff making so jesty! Full of energy and vitality. Keep up the good work buddy!

  • @gameforce514
    @gameforce514 3 года назад

    Love when you talked to your Alexa it activated mine. Ethically hacking your viewers, love it!

  • @gibboireland
    @gibboireland 3 года назад +1

    Sorry if silly question. Configuring on router means all client traffic will go to OpenDNS which is fine. But how do I get all clients to go to PiHole also? Do I have to configure them manually or is there an easier catch all?

    • @elijahosborne
      @elijahosborne Год назад

      Been wondering the same. I have Pi-Hole installed using OpenDNS, but it doesn't let me use my login for the OpenDNS. Before I was just using OpenDNS to which I could use content filtering.

  • @jareshi
    @jareshi 2 месяца назад

    I have a quick question (sorry if you answered it in the video), but what is port 443 used for? I have another docker container that is already using it, and would like to keep both of these containers working together.

  • @althas5123
    @althas5123 4 года назад +1

    Ok being a bit of a numpty here, how do you update pihole? the usual pihole -up does not seem to work?

    • @rimksec6721
      @rimksec6721 4 года назад

      Got the same issue... I read that is better to delete the container and recreate the container with the latest version

  • @pcfverbeek
    @pcfverbeek 2 года назад +1

    PiHole is great, you can even go a step further and make it recursive DNS with unbound and that's well documented too! I am currently running this a VM though. As one thing I don't understand is what happens when the container or host crashes? Where do the history and logs go? Creating docker containers is easy but I never fully grasped how you can save states and such as you would with a VM. Do I re-deploy a container if I should reboot the host or does it somehow resume the previous instance? For those wondering if it's worth setting up PI-Hole it definrtly is and makes your network a whole lot snappier, even more so on slow WAN connections.

    • @old-patriot4509
      @old-patriot4509 Год назад

      If you're wanting to save Docker container logs, etc., you have to write them somewhere outside the container, like to a NAS drive. You would have to configure that in the container.

    • @pcfverbeek
      @pcfverbeek Год назад

      @@old-patriot4509 thanks for your comment,ive learned a while lot since I posted this comment. Today I would store the logs on a seperate volume or store the directly on some neteork drive like you suggested. Docker is awesome!

    • @BCubensis
      @BCubensis Год назад

      I've had no luck installing docker with this setup.

  • @user-lf8pd2ld2u
    @user-lf8pd2ld2u 4 года назад +2

    Nice Thing, but one question. block and unblock via browser works, as long as the network.py script is running... But how can i achieve, to automatically start network.py AND keep it running on docker startup??? :-)

    • @bkdesigns07
      @bkdesigns07 4 года назад

      Wondering the same thing myself also is there a way to change the ports it runs on?

    • @EmilianoMartinez82
      @EmilianoMartinez82 4 года назад

      Where you able to figure how to start the python script upon restart?

  • @michanoyva7734
    @michanoyva7734 2 года назад +2

    pi hole in docker error port 53 !!! disable /etc/systemd/resolved.conf
    DNSStubListener=no . and start pihole . no error port 53

  • @mdawas1986
    @mdawas1986 Год назад +1

    many thanks for the video again!
    if pihole has DNS filter why did you use OpenDNS ?

  • @jeremiahnichols8272
    @jeremiahnichols8272 4 года назад

    I had to use Portainer to get this to setup correctly. Every time I would try to run a bash script or run a command in the terminal I would have some kind of error occur or pi-hole would time out attempting to even start. Works great now though. Love seeing all the blocked queries.

  • @chillegaming8250
    @chillegaming8250 4 года назад +1

    Been waiting for this video. Thanks Chuck. You’re awesome.

  • @davidgk6327
    @davidgk6327 4 года назад

    Dude I love you man, I wished I knew of your channel earlier... Anyhow glad I am for finding you, your awesome

  • @stealinglight
    @stealinglight 4 года назад +3

    .Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"

    • @SonyScaria
      @SonyScaria 4 года назад

      same error., tried several machines, never worked for me

    • @sayubu
      @sayubu 4 года назад

      Exactly same error for me too

    • @Gramini
      @Gramini 4 года назад +1

      Easiest way is to edit the script and remove everything after
      printf 'Starting up pihole container '
      It's only giving you a message that the container has started, which is not important to see.

  • @MohammadIfam1
    @MohammadIfam1 7 месяцев назад +1

    I don’t understand how the previous video on opendns is connected to this one. Help?

  • @kevinshaffer3290
    @kevinshaffer3290 4 года назад +4

    Chuck, Is there a way to see how your network.py file is setup. I would like to write a script to do similar to what you are doing with IFTTT.

    • @thommerlin
      @thommerlin 4 года назад

      Look at this github project, it may answer more questions then what it seems Chuck isn't willing to offer github.com/tfranovic/pi-hole-alexa

  • @josecintron85
    @josecintron85 4 года назад

    I blame Chuck for this... Since watching this video I have set up 3 docker containers on my machine (pihole, dhcp, and httpd). Damn you Chuck!...
    No really thanks and keep on the good work.

  • @blossomkalabaw7941
    @blossomkalabaw7941 3 года назад

    Great video, enjoyed it I'm just on dockers now practicin. thanks a bunch

  • @dretwav
    @dretwav 3 года назад

    I have my Alex devices on a different VLAN than my computers; Also because Starlink use CGNAT I have no public facing ip. I solve that by having a droplet at Digital Ocean with OpenVPN which routes all incoming traffic to a single client (Synology) which then reverse proxies to webservers on my LAN. Is there any way I can get Alexa to work with IFFT. I don't see how Synology can route traffic to a different VLAN but I am definitely not a network guru.

  • @pauloalbertogoncalveslins2844
    @pauloalbertogoncalveslins2844 Год назад

    Excellent video..But how to customize the blocking page? Is there a way to redirect using pihole in docker?

  • @OverlordZim
    @OverlordZim 4 года назад +5

    Great content for a POC, however, the API needs authentication and could be setup to reply with response codes to avoid the 500 error.

    • @1noobslayer
      @1noobslayer 3 года назад

      >implying you need to be white to to set up API authentication
      🤨😯😲🤤🥵🥺😳😣😖😩😫😱🥴😖😓😤😎

  • @sclutzo
    @sclutzo 4 года назад +1

    Mine won't run!! keep getting: docker: Error response from daemon: driver failed programming external connectivity on endpoint pihole (0c7313d8caf97c6470a391ff0cb7fecb168114e81f09e4a9cc001d2a260e1a15): Error starting userland proxy: listen tcp 0.0.0.0:53: bind: address already in use.
    Starting up pihole container Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
    .Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
    Ubuntu server 20

    • @phreak61
      @phreak61 4 года назад

      had the same issue today. any luck on a fix?

    • @sclutzo
      @sclutzo 4 года назад

      slade herman - nope. I ended up not using docker. Couldn’t get chuck’s version to work. Used git pihole/pihole then would run but Couldn’t get ports shared by host so no web admin ..messed with it for 2 days and ended up not using docker to get it working

  • @Marco.Hofmann
    @Marco.Hofmann 4 года назад +4

    Thank you for this very informative video. I've got a few questions about pi.hole though.
    Why do you run it in the cloud? What's the benefit? Or is it just for easier IFTTTTT demonstration?
    I've been running pi.hole from a raspi for about a year now and I'm very happy with it. But you got me hooked on to docker. I'm thinking about running pi.hole from my Synology. Is there anything specific I need to check on the Synology NAS?
    I already run another docker on it. I just don't want to slow down my network if the bottleneck is the NAS. However when I check the raspi it's pretty much idle all the time despite handling about 20 devices' network traffic.
    I also use pi.hole as my DHCP. I don't know why exactly. It's just happened to be. On which device would you recommend to be the DHCP?

  • @get5940
    @get5940 4 года назад

    Am addicted to your energy and channel ! Excellent. Content . If you have a video of your ‘shop’ space and how it’s setup that would help for upcoming you tubers

  • @waynestewart1919
    @waynestewart1919 2 месяца назад

    Is it possible to block other DNS services from being reached from within your network? This for the purpose of keeping the tech savvy amongst us from getting past the filtering set for the organization.

  • @DrStan
    @DrStan 2 года назад

    I ran into a problem with this, you can access Internet via IPV4 an IPv6
    protocols. Raspberry pie hole blocks IPV4 very well but allows IPv6 to
    pass by. If I disable IPv6 protocol in my Wi-Fi net work, I cannot
    access certain websites. How do you configure pie hole so it does the
    same thing for IPv6 as a desk for IPV4?

  • @ericsmith1737
    @ericsmith1737 3 года назад +1

    I love it, I decided to just watch both videos first and now I will go back and start on part 1. But I need more coffee first! 🤣😀👍

  • @user-uf3op7eg4e
    @user-uf3op7eg4e 3 года назад

    Need help please reply ASAP for PiHole first preference kindly read
    want to know about the KEMP Load Balancing, do I have to buy the load balancer hardware as well or not and if yes compare with other which one should I go for so can use for free for how long.
    No one talks about it
    There are lot of version of Rasberry Pi so which one is the best for Pi-Hole a package has every hardware like How about Rasberry Pi 4 stater

  • @joedagostino1442
    @joedagostino1442 2 года назад

    Chuck, any chance of seeing a video about running a docker container for Pi-hole right on the udm-pro???

  • @balintm7465
    @balintm7465 3 года назад +1

    How would you do the same with nftables ?

  • @MdSiam-kw5ox
    @MdSiam-kw5ox 4 года назад

    I was waiting for this video.
    You took long time.

  • @HomerNarr
    @HomerNarr 2 года назад

    You retired my unix / Linux love AWESOME
    YEA after 38plus in it it’s FUUUUUUUNNN
    THANK YOU

  • @peejae082004
    @peejae082004 2 года назад +5

    Can you also discuss the risks of opening port 53 or setting up pihole as an OpenDNS resolver? I've set up mine on AWS free tier and now have 24 clients connected even though I've only set up mine for use on 2 devices. I read up on the pihole forums and it looks like setting it up without VPN can make it vulnerable to DNS poisoning attacks or it might be compromised and used for DDoS attacks. I'm a noob and just following guides, discussing this in detail will be very interesting.

    • @thedevs1280
      @thedevs1280 2 года назад

      You can scan for open ports on machines it’s done all the time

  • @korcakd2
    @korcakd2 4 года назад +2

    Hi Chuck, love the video. Implemented it myself on free oracle cloud VM. But I'm a bit concerned about safety when running the traffic through this. Can you say if it's safe and if not, how to make it safer?

    • @fab_spaceinvaders
      @fab_spaceinvaders 2 года назад

      put that inside wireguard and privoxy and upstream DoH with Cloudflare. For additional security put everything behind zero trust cloudflare again..

  • @johnsummers7389
    @johnsummers7389 Год назад

    Great tutorial on docker and Pihole. I am stuck though. I have ATT Fiber and can't change DNS on my gateway. It is one that OpenDNS says that I can't modify. So I am stuck not being able to change it on my router. Is it absolutely required to do the stuff in this tutorial?

  • @steffiesing5449
    @steffiesing5449 4 года назад

    Chucking Chuck chuck , Thanks for the Video , got it all working on linux mint , since i'm not an expert with linux i have a simple question , when running docker containers how can i set the pihole admin page only listen on internal network
    BTW this is first time i'm using docker and i like it so far.. i didn't do the opendns part either..

  • @chadreinholz6233
    @chadreinholz6233 4 года назад

    awesome! followed along step by step, even setting up an account with linode. I've had this running less than 25 minutes and my entire network is faster! Amazing!

  • @markjago9619
    @markjago9619 4 года назад

    wow, thanks.. am 'new to the game' with docker but learned loads... great content

  • @tabbarsg
    @tabbarsg 4 года назад

    Bro u & ur family are cool, thanks for the very informative vids explained in a simple manner, keep doing those docker vids, a lot of fun !!!!

  • @DeanBoltman
    @DeanBoltman 2 года назад

    Chuck, will you be able to do some easy tutorials for backing up and restoring config and volumes etc - and something via Portainer too?

  • @derricknull3717
    @derricknull3717 2 года назад

    im 35 seconds in and i already love you

  • @PwnKilla
    @PwnKilla 2 года назад

    What I don’t understand is why did we setup openDNS on our router if we set also are going to set it up on the Docker container ?

  • @jdcpr
    @jdcpr 4 года назад +1

    great guide and resources. got it working following your guide, diving into docker and linux myself. What would be a clean way to automate the network.py script once the container launches? I'm having to run the python script once starting the container. Thanks!

    • @JuanMGomezP
      @JuanMGomezP 3 года назад

      i have the same question. any luck?

  • @blastinc
    @blastinc 3 года назад +3

    Hi Chuck , thanks for your awesome work. I would be curious if you could do also a video on pihole+ unbound + nginx+ bitwarden self hosting service in docker.

  • @atotankatinkitu6483
    @atotankatinkitu6483 Год назад

    Hi sorry it might be a stupid question but you need to keep the pc on in order to run the docker container and pihole?
    Sorry again

  • @darkrebel7302
    @darkrebel7302 2 года назад

    Thanks a lot for all your tutorials. I want to set up a Raspberry pie and pie hole on my Network. Is it necessary to set the dns server manually on every single device in the network in order for the ad blocker to work?

  • @Kocken87
    @Kocken87 4 года назад +1

    Does running pihole in a container help reduce the risk of forwarding port 80/8080? I've seen so many threads and warnings about just that thing from the pihole community.

  • @miteshparmar1
    @miteshparmar1 4 года назад

    Followed the video verbatim but received the following error message:
    WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers.
    aa31bb703c422dbafb9d4948cb81ecb90dec7e7bca305d2ff0aa9678984f5374
    Starting up pihole container ....................
    Timed out waiting for Pi-hole start, consult check your container logs for more info (`docker logs pihole`)
    Steps to reproduce issue:
    1. Follow part 1 and create and configure an OpenDNS account; ruclips.net/video/BSplICgr7iU/видео.html
    2. ssh into a Raspberry Pi Model B successfully
    3. Follow this video to create and configure docker
    4. Everything goes smoothly until 7:10 of this video where the above error is shown.
    5. Entering the command 'docker logs pihole' shows the following:
    standard_init_linux.go:207: exec user process caused "exec format error"
    standard_init_linux.go:207: exec user process caused "exec format error"
    Any help would be much appreciated...

  • @peraruor
    @peraruor 2 года назад

    Hi Chuck! Love your keyboard. What kind of keyboard you have?

  • @adiflorense1477
    @adiflorense1477 4 года назад

    3:50 is it resolv conf same as host file in windows?

  • @babacarndoye2281
    @babacarndoye2281 2 года назад

    Hi Chuck it’s amazing course there but how if you want to block just some kind of people at some kind of hours every day? Thanks

  • @stvo1987
    @stvo1987 4 года назад +1

    Thanks for the video, awesome work. only one thing I do not like is IFTTT. Don't get me wrong it's a wonderful tool but I don't like having 3rd party/cloud software access to my home network. Yes I'm sure your could do an IP filtering in your FW rules but to me that's one more thing to worry about. Thanks to you I'm definitely going to do something similar but I am going to use my home automation software that lives only in my home network to do what IFTTT would do in this scenario. Then I can have Alexa run that command. I am using HomeSeer for my automation. I already have 5 Pi-Hole's running on my network and I love them.

    • @stvo1987
      @stvo1987 4 года назад +1

      FYI here is my setup
      drive.google.com/drive/folders/1L-jFvQBVgCi1zPjumkUgdEmYsUPRUIhH?usp=sharing

  • @ruwanbandara6924
    @ruwanbandara6924 4 года назад

    Hi...
    I have 2 different network providers. there are completely separate networks
    1st one fiber router for normal use
    2nd one 5G connection unlimited social media and youtube
    on my first router (fiber), I have a raspberry pi with pi-hole installed my question is how can I add pi-hole to my 2nd rower without adding a 2nd raspberry pi device. I don't know much about networking.
    please help and sorry about my English

  • @thermaltaco
    @thermaltaco 3 года назад

    Thanks for this video! I was trying to get pihole working the other day but ran into trouble - I’m excited to try your way :)

  • @f22gtr
    @f22gtr 2 года назад +1

    @NetworkChuck - I am getting error when running the pihole.sh. It says Template parsing error

  • @donnielewis186
    @donnielewis186 2 года назад

    How would this work in an AD enviroment? I can't point domain computers to the PIHOLE DNS, Just point the firewall to open dns?