Page 5 of 7 FirstFirst ... 234567 LastLast
Results 65 to 80 of 105

Thread: Pi-Hole: Ad blocking at the network level

  1. #65
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Pi-Hole: Ad blocking at the network level

    ik9000 - got it working yet?
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  2. #66
    Senior Member
    Join Date
    Feb 2004
    Posts
    403
    Thanks
    58
    Thanked
    79 times in 68 posts
    • Firejack's system
      • Motherboard:
      • Asus PRIME X470-Pro
      • CPU:
      • AMD Ryzen 7 2700X
      • Memory:
      • TG Dark Pro "8pack Edition"
      • Storage:
      • Crucial 250GB SSD, Sandisk 128GB SSD, Samsung 1TB HDD
      • Graphics card(s):
      • Sapphire RX VEGA 56 8GB Pulse
      • PSU:
      • SeaSonic Focus Plus 650 Gold
      • Case:
      • Fractal Design Define S
      • Operating System:
      • Windows 10 Pro 64bit
      • Monitor(s):
      • Dell S2719DGF
      • Internet:
      • BT Infinity 2

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by jim View Post
    Has anyone tried running this in a VM? Is there any good reason not to?
    I used too but had some problems with Pihole breaking something in dnsmesq on my Ubuntu VM. Now use the Official Docker image: https://hub.docker.com/r/pihole/pihole/

    Hardly uses any resources on my unRAID server and has been running for months without issue

  3. #67
    RIP Peterb ik9000's Avatar
    Join Date
    Nov 2009
    Posts
    7,704
    Thanks
    1,840
    Thanked
    1,434 times in 1,057 posts
    • ik9000's system
      • Motherboard:
      • Asus P7H55-M/USB3
      • CPU:
      • i7-870, Prolimatech Megahalems, 2x Akasa Apache 120mm
      • Memory:
      • 4x4GB Corsair Vengeance 2133 11-11-11-27
      • Storage:
      • 2x256GB Samsung 840-Pro, 1TB Seagate 7200.12, 1TB Seagate ES.2
      • Graphics card(s):
      • Gigabyte GTX 460 1GB SuperOverClocked
      • PSU:
      • NZXT Hale 90 750w
      • Case:
      • BitFenix Survivor + Bitfenix spectre LED fans, LG BluRay R/W optical drive
      • Operating System:
      • Windows 7 Professional
      • Monitor(s):
      • Dell U2414h, U2311h 1920x1080
      • Internet:
      • 200Mb/s Fibre and 4G wifi

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by peterb View Post
    ik9000 - got it working yet?
    nope! It rattles around in the box so I'm ordering some screws. And the lack of heatsink makes me feel.... wrong. But the main reason for the lag is I've barely been in.

    It's been interesting to read more about how it works. If I've read it right (and it's quite possible I haven't) but it sounds like you're essentially routing your traffic through their site and via their selected DNS server (which is 3rd party) but they get all the usage stats information. So that's a lot of data they can mine. (NB you need a paid account to not have as much of the tracking - but then everything is linked to your account, which is arguably worse).

    It also loses the filtering you get with, say, openDNS if you apply their content filtering. It seems to me like you'd be better manually updating the block list onto your own piece of kit which filters it before it goes off to openDNS or whoever. Or have I missed something?

  4. #68
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by ik9000 View Post
    nope! It rattles around in the box so I'm ordering some screws. And the lack of heatsink makes me feel.... wrong. But the main reason for the lag is I've barely been in.

    It's been interesting to read more about how it works. If I've read it right (and it's quite possible I haven't) but it sounds like you're essentially routing your traffic through their site and via their selected DNS server (which is 3rd party) but they get all the usage stats information. So that's a lot of data they can mine. (NB you need a paid account to not have as much of the tracking - but then everything is linked to your account, which is arguably worse).

    It also loses the filtering you get with, say, open DNS if you apply their content filtering. It seems to me like you'd be better manually updating the block list onto your own piece of kit which filters it before it goes off to openDNS or whoever. Or have I missed something?
    You have missed something. It intercepts DNS calls to your normal DNS server - filters out the DNS calls to ad servers - then routes the calls to your normal DNS server.

    So lets say your PC uses open DNS. You set your PC to use the Pi as the DNS server, and the PI to use open DNS. You click on a link to <some ad ridden sight> which generates a lot of DNS calls - some to the useful content - others to various adservers.

    The Pi returns a bland pixel to your PC for each adserver call, but otherwise drops it. The call to the content gets forwarded to open DNS in the normal way.

    If your router acts as a DNS relay, you set it to point to the Pi so that all devices on your network benefits from DNS filtering. You can also add filters to any website manually so if you want to stop anyone accessing (say) Facebook - just add facebook.com to the blacklist.

    Surprised it is rattling in the box - but I used a box from RS. You only need a heatsink if you are generating a lot of heat. The Pi doesnt with a total power consumption of < 10 watts!

    You don't need to put in the box to get it working though - just place it on a bit of card and connect it up!
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  5. Received thanks from:

    ik9000 (04-11-2018)

  6. #69
    Laird Of The Glen jimborae's Avatar
    Join Date
    Oct 2003
    Location
    I come from a land of plenty......not
    Posts
    3,491
    Thanks
    260
    Thanked
    370 times in 303 posts
    • jimborae's system
      • Motherboard:
      • Gigabyte Aorus Z390 Pro
      • CPU:
      • Core i7 9700K@4.7Ghz
      • Memory:
      • Team Group DDR-3000 32Gig
      • Storage:
      • 1x Samsung 870 Evo 500Gb SSD, 1 x WD Red 4TB
      • Graphics card(s):
      • Gigabyte Radeon 5700XT watercooled
      • PSU:
      • XFX 850W Black Edition
      • Case:
      • Phantek Enthoo Prime
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • 2 xDell 24"
      • Internet:
      • PlusNet 70Mb

    Re: Pi-Hole: Ad blocking at the network level

    My Pi kit arrives tomorrow so hopefully will have some time over the weekend to get this up & running and see how well it works. Always wanted a Pi to play around with and now this is a good excuse!

  7. #70
    HEXUS.social member
    Join Date
    Feb 2006
    Posts
    2,562
    Thanks
    102
    Thanked
    320 times in 213 posts

    Re: Pi-Hole: Ad blocking at the network level

    My kit has just arrived, so I'll have a play with it over the weekend and get this set up.

  8. #71
    Administrator MLyons's Avatar
    Join Date
    Feb 2017
    Posts
    473
    Thanks
    310
    Thanked
    156 times in 92 posts
    • MLyons's system
      • Motherboard:
      • ASUS PRIME X470-PRO
      • CPU:
      • 2700x
      • Memory:
      • 16GB DDR4 Corsair RGB
      • Storage:
      • 500GB MX500 500GB HDD 2TB SSD
      • Graphics card(s):
      • EVGA SC2 1080Ti
      • PSU:
      • Corsair tx650
      • Case:
      • Corsair Air 540
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 2 Asus 1080p

    Re: Pi-Hole: Ad blocking at the network level

    Make sure to white list HEXUS
    Half dev, Half doge. Some say DevDoge

    Feel free to message me if you find any bugs or have any suggestions.
    If you need me urgently, PM me
    If something is/was broke it was probably me. ¯\_(ツ)_/¯

  9. #72
    Laird Of The Glen jimborae's Avatar
    Join Date
    Oct 2003
    Location
    I come from a land of plenty......not
    Posts
    3,491
    Thanks
    260
    Thanked
    370 times in 303 posts
    • jimborae's system
      • Motherboard:
      • Gigabyte Aorus Z390 Pro
      • CPU:
      • Core i7 9700K@4.7Ghz
      • Memory:
      • Team Group DDR-3000 32Gig
      • Storage:
      • 1x Samsung 870 Evo 500Gb SSD, 1 x WD Red 4TB
      • Graphics card(s):
      • Gigabyte Radeon 5700XT watercooled
      • PSU:
      • XFX 850W Black Edition
      • Case:
      • Phantek Enthoo Prime
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • 2 xDell 24"
      • Internet:
      • PlusNet 70Mb

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by MLyons View Post
    Make sure to white list HEXUS
    Scouts honour promise that I will. i.e. it will teach me how to white list sites as I'm sure there will be others I need to whitelist.

  10. #73
    HEXUS.social member
    Join Date
    Feb 2006
    Posts
    2,562
    Thanks
    102
    Thanked
    320 times in 213 posts

    Re: Pi-Hole: Ad blocking at the network level

    The command to whitelist is: -

    pihole -w forums.hexus.net

    Although interestingly, the ad banner at the top still showed on the main forums regardless, but adding the whitelist enabled the one to my right of this reply box and an ad banner to the top in threads.

    The web interface says my pi is currently as 48°C. I guess that's fine? It's in a case I got from https://www.amazon.co.uk/Raspberry-P...dp/B01CI5879A/

  11. Received thanks from:

    jimborae (02-11-2018)

  12. #74
    Missed by us all - RIP old boy spacein_vader's Avatar
    Join Date
    Sep 2014
    Location
    Darkest Northamptonshire
    Posts
    2,015
    Thanks
    184
    Thanked
    1,086 times in 410 posts
    • spacein_vader's system
      • Motherboard:
      • MSI B450 Tomahawk Max
      • CPU:
      • Ryzen 5 3600
      • Memory:
      • 2x8GB Patriot Steel DDR4 3600mhz
      • Storage:
      • 1tb Sabrent Rocket NVMe (boot), 500GB Crucial MX100, 1TB Crucial MX200
      • Graphics card(s):
      • Gigabyte Radeon RX5700 Gaming OC
      • PSU:
      • Corsair HX 520W modular
      • Case:
      • Fractal Design Meshify C
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • BenQ GW2765, Dell Ultrasharp U2412
      • Internet:
      • Zen Internet

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by Gerrard View Post
    The command to whitelist is: -

    pihole -w forums.hexus.net

    Although interestingly, the ad banner at the top still showed on the main forums regardless, but adding the whitelist enabled the one to my right of this reply box and an ad banner to the top in threads.

    The web interface says my pi is currently as 48°C. I guess that's fine? It's in a case I got from https://www.amazon.co.uk/Raspberry-P...dp/B01CI5879A/
    That's fine temp wise. Mine tends to sit somewhere around 45-50c.

    You can add to the whitelist through the webUI as well.

    If the banner showed before it was probably because it was hosted directly by hexus rather than an ad syndicate.

  13. #75
    Laird Of The Glen jimborae's Avatar
    Join Date
    Oct 2003
    Location
    I come from a land of plenty......not
    Posts
    3,491
    Thanks
    260
    Thanked
    370 times in 303 posts
    • jimborae's system
      • Motherboard:
      • Gigabyte Aorus Z390 Pro
      • CPU:
      • Core i7 9700K@4.7Ghz
      • Memory:
      • Team Group DDR-3000 32Gig
      • Storage:
      • 1x Samsung 870 Evo 500Gb SSD, 1 x WD Red 4TB
      • Graphics card(s):
      • Gigabyte Radeon 5700XT watercooled
      • PSU:
      • XFX 850W Black Edition
      • Case:
      • Phantek Enthoo Prime
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • 2 xDell 24"
      • Internet:
      • PlusNet 70Mb

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by Gerrard View Post
    The command to whitelist is: -

    pihole -w forums.hexus.net

    Although interestingly, the ad banner at the top still showed on the main forums regardless, but adding the whitelist enabled the one to my right of this reply box and an ad banner to the top in threads.

    The web interface says my pi is currently as 48°C. I guess that's fine? It's in a case I got from https://www.amazon.co.uk/Raspberry-P...dp/B01CI5879A/
    Yeah the ad in the banner shows for me too as does the one to right of my reply box (corsair ad) and i've not done the white list yet, but will do it in a min now you've kindly given me the command.

  14. #76
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by MLyons View Post
    Make sure to white list HEXUS
    I found I didn't need to expicilty whitelist HEXUS - it worked as is out of the box (I did play with blacklisting the HEXUS ad server when I was in the 'lets fddlewith it" mode) and then removed it.

    HEXUS ads are not intrusive anyway.

    And to repeat an earlier post

    Quote Originally Posted by peterb View Post

    Just one thought

    Many web sites rely on adverts to keep running. That includes HEXUS. Long term, the widespread use of these may result in more paywall websites and a reduction in content.

    With regard to HEXUS, the advertising is not particularly intrusive, so you might like to whitelist the HEXUS adservers.
    (But as stated earlier, they don't seem to be blacklisted anyway)
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  15. #77
    HEXUS.social member
    Join Date
    Feb 2006
    Posts
    2,562
    Thanks
    102
    Thanked
    320 times in 213 posts

    Re: Pi-Hole: Ad blocking at the network level

    Would it actually matter in this case, or even be a bit better than just using Adblock? The site still thinks it's showing adverts via pi-hole and therefore would count as a view but would detect it being blocked via Adblock. So if I disable Adblock as I no longer need it, more sites would think they are getting views, even though I have no intention on clicking on any even if I saw them.

  16. #78
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Pi-Hole: Ad blocking at the network level

    Quote Originally Posted by Gerrard View Post
    Would it actually matter in this case, or even be a bit better than just using Adblock? The site still thinks it's showing adverts via pi-hole and therefore would count as a view but would detect it being blocked via Adblock. So if I disable Adblock as I no longer need it, more sites would think they are getting views, even though I have no intention on clicking on any even if I saw them.
    The calls to the ad server are blocked by Pi-hole so the ads are never served - so it won't count as a view.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  17. #79
    HEXUS.social member
    Join Date
    Feb 2006
    Posts
    2,562
    Thanks
    102
    Thanked
    320 times in 213 posts

    Re: Pi-Hole: Ad blocking at the network level

    Of course, I was getting it backwards. I guess websites pick up Adblocker with a script that detects when the calls aren't made then.

  18. #80
    RIP Peterb ik9000's Avatar
    Join Date
    Nov 2009
    Posts
    7,704
    Thanks
    1,840
    Thanked
    1,434 times in 1,057 posts
    • ik9000's system
      • Motherboard:
      • Asus P7H55-M/USB3
      • CPU:
      • i7-870, Prolimatech Megahalems, 2x Akasa Apache 120mm
      • Memory:
      • 4x4GB Corsair Vengeance 2133 11-11-11-27
      • Storage:
      • 2x256GB Samsung 840-Pro, 1TB Seagate 7200.12, 1TB Seagate ES.2
      • Graphics card(s):
      • Gigabyte GTX 460 1GB SuperOverClocked
      • PSU:
      • NZXT Hale 90 750w
      • Case:
      • BitFenix Survivor + Bitfenix spectre LED fans, LG BluRay R/W optical drive
      • Operating System:
      • Windows 7 Professional
      • Monitor(s):
      • Dell U2414h, U2311h 1920x1080
      • Internet:
      • 200Mb/s Fibre and 4G wifi

    Re: Pi-Hole: Ad blocking at the network level

    pi up and running - and that rattle... there are 4 clips on one side of the case. You need to swing the board in at an angle, then shuggle it a bit - and make sure the sd card isn't rolling around the case. That last bit is key.

    any point installing ufw and/or fail2ban before reaching for pihole?
    https://www.raspberrypi.org/document...on/security.md

Page 5 of 7 FirstFirst ... 234567 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •