Tutorial:Filtering / Site Blocking Using pfblocker DNSBL on pfsense (newer video in description)

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • Updated pfblocker video • pfsense: Blocking Thre...
    Amazon Affiliate Store
    ➡️ www.amazon.com...
    Gear we used on Kit (affiliate Links)
    ➡️ kit.co/lawrenc...
    Try ITProTV free of charge and get 30% off!
    ➡️ go.itpro.tv/lts
    Use OfferCode LTSERVICES to get 5% off your order at
    ➡️ lawrence.video...
    Tesla Referral Program Offer
    🚘 www.tesla.com/...
    Lawrence Systems Shirts and Swag
    👕 teespring.com/...
    Digital Ocean Offer Code
    ➡️ m.do.co/c/85de...
    HostiFi UniFi Cloud Hosting Service
    ➡️ hostifi.net/?v...
    Protect you privacy with a VPN from Private Internet Access
    ➡️ www.privateint...
    Google Fi Service Referral Code
    📱g.co/fi/r/TA02XR
    More Of Our Affiliates that help us out and can get you discounts!
    ➡️ www.lawrencesy...
    Twitter
    🐦 / tomlawrencetech
    Patreon
    🔗 / lawrencesystems
    Our Forums
    🔗 forums.lawrenc...
    GitHub
    🔗 github.com/law...
    Discord
    🔗 / discord
    Our Web Site
    🔗 www.lawrencesy...
    PIA Internet Access Affiliates Link
    www.privateint...
    Tutorial:Internet Filtering / Site Blocking Using pfblocker DNSBL on pfsense
    Using pfblocker for blocking external lists
    • 2016 Using the pfBlock...
    The PiHole Black Lists
    github.com/pi-...
    Steves Blacklists
    github.com/Ste...
    A big list of feeds from Reddit
    / pfblockerng_ip_lists_d...
    Why Not Squidguard
    tools.ietf.org...
    Using DNS Thingy with pfsense
    • DNS Web Filtering With...
    Our Forums
    forums.lawrenc...
    Patreon
    / lawrencesystems
    Twitter
    / tomlawrencetech
    Our Web Site
    www.lawrencesy...
    Affiliate Link for Tube Buddy
    www.tubebuddy....
    On LinkedIn
    / lawrencesystems
    #pfsense #Firewalls

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

  • @eugeni_cat8334
    @eugeni_cat8334 6 лет назад +16

    Thank you very much for teaching us how to configure pfblocker DNSBL on pfsense. I have followed your instructions and everything is working perfectly. Best Regards from Catalonia (Spain)

    • @skawashkar
      @skawashkar 5 лет назад

      How did you get the black list? Is it possible to use squidguard blacklist in pfblockerng?

  • @rickabrams3422
    @rickabrams3422 6 лет назад +15

    by far the best explained and easy to understand tutorial. subbed.

  • @Wololo9000
    @Wololo9000 6 лет назад +8

    great video! BTW you can whitelist some sites in the DNSBL. You can go to alerts and whitelist the site that is being blocked.

  • @TheKiller7276
    @TheKiller7276 6 лет назад +4

    This did not work for me /
    I am in an internal network, also I didn't add the dns rules because they ended up blocking everything, and I use a public dns, plus dns over tls, I think that might be stopping me from blocking via dns

  • @homes24
    @homes24 5 лет назад +4

    "you may want to block social and gambling and porn for everyone but yourself out of the network.........." XD

  • @teknik1516
    @teknik1516 6 лет назад +3

    My pass IP rule does not work. Do I have to restart something? I am still blocked. (19:25= -> )

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

    "not gonna talk about this feature"
    the only one I cared for

  • @linuxpc4me555
    @linuxpc4me555 6 лет назад +5

    Thanks so much for the great video! I am confused on your LANnet DNS rules beginning at 4:48 in the video. What are you specifying for DNS servers for these rules? On your dashboard, DNS Servers listed are: 127.0.0.7; 192.168.3.1 (maybe pfsense box?); 208.67.222.222 (OpenDNS server) and 8.8.4.4 (google).
    Can you please explain or direct me to a previous video that specifies what DNS servers you are using and how they tie into the LAN net Rules?

    • @alvint4944
      @alvint4944 5 лет назад +1

      Hi!
      I have the same question, were you able to figure out how to set the DNS server?

  • @fwtt
    @fwtt 5 лет назад +4

    # ZeuS Tracker has been discontinued on Jul 8th, 2019

  • @hockey6611
    @hockey6611 6 лет назад +8

    Great video Tom. Suggestion: Use NAT for DNS; set up NAT rule on LAN that forwards all UDP port 53 traffic to the localhost IP (pfsense). This way, pfsense has all dns traffic and nothing breaks if dns is manually set.

    • @LeadasTwoKings
      @LeadasTwoKings 6 лет назад

      Great idea!

    • @rick2148
      @rick2148 6 лет назад

      Yes I added those 2 rules into my pfsense for DNS and it worked, but broke my ability to browse my share on my freenas box with my linux file manager. I could still get to it in ssh and my mounts worked, but for some reason my Dolphin file manager failed to connect \\10.x.x.x it would just time out. I turned off the 2 rules and it worked fine.

    • @BarbarinRionda
      @BarbarinRionda 6 лет назад

      I do that and works great! Thanks.

    • @random_tech_stuff
      @random_tech_stuff 6 лет назад

      Clever!

    • @G4rg4m31_
      @G4rg4m31_ 5 лет назад

      Sorry, I'm a bit confused. Am I setting the rule to pass or deny the UDP packets as per what you recommended?

  • @enderst81
    @enderst81 6 лет назад +32

    Should be allowed to give more than one thumbs :'(

  • @alpachino468
    @alpachino468 5 лет назад +2

    At the very least, LTS deserve an extra couple of zeros on the amount of subscribers they currently have.

  • @saywhat9158
    @saywhat9158 6 лет назад +1

    With all due respect to free software, pfBlockerNG needs to address some surprisingly absent features to address issues it creates. For instance, it needs to allow the input of DNS txt lists without a server like with IP lists. It's only a txt list so why can't you easily add custom designed DNS txt lists that don't rely on large foreign web lists. Otherwise, you need to be able to edit the accumulated list as well as view it for easy assessment. It also needs to allow changing the 1 pixel to a graphic which shows pfblocker as the blocker to know what it effects vs other restrictors. These simple limitations cause way more effort and complexity than necessary in deployment of an otherwise great concept and in troubleshooting web issues.

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

    Hello. thanks for the tutorial. After setting the firewall rules for DNS 52 UDP port, it also blocks the Google services, like GoogleDrive, and so on. It also stops Windows applications like Microsoft Teams. Does this have a solution? I want to allow Google products to run on my Lan.
    I am using pfsense 2.6.0

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

    Very nice Video , i need to ask 2 questions. I am running this schema ,internet Pfsense, USG , Un-switch 8port 150w. I tried to block gambling bets etc but nothing with pfBlockerNG-devel . Also i cant see ip lease from Pfsense only the USG is this correct ?Any suggestions ?

  • @gpjuan
    @gpjuan 6 лет назад +1

    Your tutorial have been a great help setting up my pfsense box.
    But now i feel like i am knocking my head agenst a brick wall. I have 2 interfaces bridged and the second one (without an IP) cant talk to the pfsense DNS server despit allowing using rules. Anyone had the dame problem, any clues on solution. As a tempory fix i have set up a NAS to an external DNS server.

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

    very well explained, thank you, is there any way to block streaming websites espacially youtube using pfblockerNG?

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

    Should the Action under PfBlockerNG\IP PRI1 be Deny Outbound or Deny Inbounnd?

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

    I'm a newbie soft soft (20.9) user, and I'm on Mac 10.14. Would you please help about how to select

  • @wolverinemarco
    @wolverinemarco 5 лет назад +2

    Thanks for the great tutorial, but can i use a custom html web page including a message to be directed to instead of the (1x1) single Pixel? :)

  • @marjundelarama7858
    @marjundelarama7858 5 лет назад +1

    Hi sir. I've watched your video about how to block this whole thing using pfblocker it seems I like it much and very informative video. This is what I looking for. I am new in pfsense and I found out that your videos are very resourceful. Keep up the good work sir. God bless

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

    Hi Sir! Is there a way that I can whitelist an IP on DNSBL? example. I want 10.10.30.2 to access facebook only. Can I whitelist the said IP?

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

    If I turn on the block all othet DNS intranet, neither WiFi nor PC can properly parse the website, how should I resolve this conflict?

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

    How to block all traffic, except selected web sites? (can you white-list DnsBlocker?)

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

    Actually we can bypass the DNSBL by giving manual public dns to lan card.

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

    Hi can you block facebook, twitter with this? or other social media just for productivity purposes only.

  • @najib19791
    @najib19791 5 лет назад +1

    Steve has a good list of porn sites...

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

    wanted to add my own sites. How is using someone list this? Want to block Tic Tok from my network. I don't care about other people list.

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

    Great video. funny that 3yrs later mainly Steve's list remains undisturbed 😅😅

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

    trying to learn soft so I am easily understanding everytNice tutorialng but I don't tNice tutorialnk it is for complete beginners who just opened the soft literally 5

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

    the biggest legends in the rap industry, biggy. You just need to creative and know your way around the software imo

  • @qwerty74
    @qwerty74 5 лет назад +6

    Thank you so much. I was specifically looking for the "Pi-Hole lists" part.

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

      Is the list for pi-hole still available? I can't seem to go to the github page as it doesn't exist.

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

    thx

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

    can we completely block such adult sites in home wifi ??? with blocking the keywords like sex porn etc.

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

    I watched this tutorial to the end,porn sites etc dosent get blocked with a message or even a pixel but it gets listed on firewall/pfblockerng/alerts and then tab report. its like its sees that i am wanting to access it but no block?. Even at nslookup i still get the ip address of porn site gamble etc. rules are set on the firewall/rules/lan, what i am missing here?

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

    aah, i just got into making soft rn and tNice tutorials is so helpful and your voice is so sootNice tutorialng btw! thanks for tNice tutorials tutorial

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

    is it possible to allow using a MAC address or binding an IP address to a MAC address and allowing that IP/MAC address ??

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

    dont even soft like anytNice tutorialng, was that a problem for more experienced people here as well?

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

    Maybe you can guide me, I can block the pages but when I put www. ahead lets me enter the page. What would be the problem?

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

    DUDE, I got so frustrated 'cause of that problem, thanks a lot!

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

    I haven’t created a single project on there. On my iPhone and iPad on the other hand, I’ve created multiple s and soft in just one

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

    quick question how would a person get blacklisted on purpose by an ip firewall like really fast

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

    How can I set it to I only allow my smartphone access a server in my neighborhood from outside it?

  • @cryptogap5559
    @cryptogap5559 5 лет назад

    If you are looking for some pre categorized lists. Take a look at the lists that we have put together at blocklist.site/app/ let us know if you find any issues!

  • @fwtt
    @fwtt 5 лет назад +1

    DNSBL 7:28

  • @thericeprince6816
    @thericeprince6816 5 лет назад +6

    4:08 Thank you for also stressing that best practice is to block external DNS request and force the network to go through pfSense. Thank you also for demonstrating how to properly and easily apply the Firewall Rule. This is an overall fantastic tutorial.

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

    Not seeing the DNSBL/Feed in 3.0. They they move it some where?

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

    I don't know if there is any way to prevent pfsense from solving dns pollution and poisoning and reset the connection

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

    Is it possible to block all websites except 20. Whitelist with allowed websites?

  • @sanjaysuryavanshi1966
    @sanjaysuryavanshi1966 5 лет назад

    i want to create for particular ip group and some sites blocks in this group.its possible in this.

  • @charliebrownau
    @charliebrownau 6 лет назад +1

    Wow what timing . I am making a cheap DIY Linux router box using pfsense using ITX ECS AM1 system + 4 port gig nic + 8 gig of RAM + 32 gig SSD

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

    pfblocker trips out on me... ill check out your forms or reddit i guess

  • @jadelagman2594
    @jadelagman2594 5 лет назад

    Hi, What if i want to Block all then whitelist few websites. What would be the best way to do it ? Thanks

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

    Just a heads up - it looks like ZeusTracker is discontinued.. when you go to the URL ( zeustracker.abuse.ch/blocklist.php?download=domainblocklist ) you get "# ZeuS Tracker has been discontinued on Jul 8th, 2019"

  • @Andrey.Elagin
    @Andrey.Elagin 5 лет назад

    another good source to look at: dsi.ut-capitole.fr/blacklists/index_en.php

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

    Sir I am really thankful to you....Sir i cannot by pass my IP through pfblocker rules....i have followed you but useless,,,,

  • @playtime5423
    @playtime5423 5 лет назад

    DNS over TLS uses port 853, would I need to also set up the same firewall rules along with the ones for port 53 if I’m using pfSense DNS Resolver to do DNS over TLS? Or just rules for 853?
    Thanks in advance.

  • @davemckewan4450
    @davemckewan4450 5 лет назад +1

    Just got my Netgate 1100 up and running and this was the first config video I went to! Thanks for the info, now those ads are going away...

    • @andrebarros9168
      @andrebarros9168 5 лет назад +1

      i got mine as well around the same time. great fw

  • @playtime5423
    @playtime5423 6 лет назад +1

    Love your videos on pfSense. Is there anyway you can zoom to the sections where your typing when your typing? Even when you said let me zoom in, when you were doing NS lookup, it was still so far out. Thanks again for all your pfSense videos...

  • @bakedbillybacon
    @bakedbillybacon 5 лет назад

    pfBlockerNG is not working for any of my mobile devices - and yes, I added the firewall rule to block other DNSs. Can't find a solution that is decent enough and does not use squid.

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

    ong

  • @ejrz6553
    @ejrz6553 5 лет назад

    Not sure if anyone else had trouble with the block lists from StevenBlack but I had to parse the list using sed in Linux to get rid of the 0.0.0.0 in front of the sites, then upload that to my GitHub repo, then use my own URL in the DNSBL Feeds to get the sites to work. I dont know what I did wrong following Tom but thats how i got around it while I figure out my screw up.

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

    did they ever find a work around for android chrome?

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

    Great tutorial!!! But what if I want to add a specific website to block? Where can I enter the URL? Thanks man.

  • @antonioccnt
    @antonioccnt 6 лет назад

    How to use pfblockerng to block websites on Android Google Chrome browser? Its just dont work! Work with any other browser, but the block dont stop Chrome!

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

    Hi please can you give me, more toutarial,

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

    Excellent video. Kids are going to hate me ha ha

  • @linuxpc4me555
    @linuxpc4me555 5 лет назад

    My PfSense with ngBlocker gives a very severe warning page instead of a 1 pixel page. How can I get a copy of that, or, how would I edit the warning page in the system?

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

    Is possible to block url of facebook post/twitter post/youtube video? Thanks

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

    help me a lot thanks you so much

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

    Do you have a video showing how to edit softs????

  • @LuisCruz-fs8bc
    @LuisCruz-fs8bc 4 года назад

    Quick question, i'm new to pfsense. Does openDNS already does this? Or is configuring pfblocker better?

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

    Your explanation and thoroughness of this is fantastic. Love your pacing with it all as well. Thanks for the great video!

  • @RodrigoFerreira-bd5fg
    @RodrigoFerreira-bd5fg 5 лет назад

    Is it possible to specify a list of IP to this rule? Not only for the hole network? How? Thanks in advance.

  • @ilcugginocanadese
    @ilcugginocanadese 5 лет назад

    It's the oddest thing - the first time I tried this about 6 months ago, it wasn't working properly - oh it worked but DNS resolution was so slow it was unworkable. Now after seeing your other tutorial on running PFSense on XCP-ng where you state to disable checksum offloading, I turned PFBlocker back on without disabling the CO and it works normally. Weird or what? Thanks for making these videos BTW. They are great.

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

    Is there a way to customize the web server so that you would get your own "block screen" instead of just a black screen?

  • @vartroy_tec
    @vartroy_tec 6 лет назад

    Hello my friend, how are you? What are you using to block files download? I know that you can accomplish that with squid proxy filter using regex, but I do not know any other way to do the same thing. Do you have any suggestion? Thanks.

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

    Hi Lawarence, please need your help in updating my PFsense so that ii can install the packages on my firewall

  • @residuevideos
    @residuevideos 5 лет назад

    Hello Tom, pfblocker is having problem with custom list SSL connections. I added facebook.com to the custom list, and once user visits, SSL cert error appears: "this site is not secure". There are many netgate and other forum entries without clear explanation how this can be fixed.
    Do you know how to fix it? Can you make a video about it?
    Thanks!

  • @davidnickel3949
    @davidnickel3949 5 лет назад

    but isn't mim /ssl filtering needed to have clam av scan anything now or else av in squid isn't doing shit????

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

    this explain is slightly outdated.. update would be appriciated

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

    Can opnsense do this as effectively and easily? I was going to go with opnsense but this looks like a good feature.

  • @rick2148
    @rick2148 6 лет назад

    This DNSBL Virtual IP is a little confusing. I left it default and saved then realized my network starts with 10. So went back and changed it to a 172. network and saved it. Now doing a nslookup on... example adspeed.net it keeps coming up 10.10.10.1 instead of the 172 network. Can't seem to fix it. What IP should you put in there? Will the default interfere with my 10 network?

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

    Hi sir in pfblocker dnsbl ip address.what I want to give pls explain more.

  • @shanerose7435
    @shanerose7435 5 лет назад

    Thanks for the Video, I have implemented but how would I block say netflix? just one site in addition? Or maybe streaming websites, but not like youtube.

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

    I think I like this better then squid

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

    Tom, Some of the Pi-Hole list entries don't work anymore namely Zeustracker and Hosts file. Can you show us the lists you currently use or point us to the links that we can use?

  • @henriquecorrea1562
    @henriquecorrea1562 6 лет назад

    Today my neighbor gave me an "old" motherboard and I grabbed some ram and my old SSD and installed pfSense right away, and temporarily replaced my Mikrotik (RB750r2) with it.. I just finished setting pfBlockerNG up, and man.. that's simply amazing.. it even looks like I never turned off my AdBlocker on Chrome! Thank you so much for this tutorial ;)

  • @Max34557
    @Max34557 6 лет назад

    Is it possible to alter the landing page for blocked domains? So the user sees a "Sorry, this website has been blocked by the firewall" screen?

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

    Does this intercept DNS? So if a computer on your network is set to use 8.8.8.8 as their DNS, does this still work?

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

      Not by default but it can be configured to do so docs.netgate.com/pfsense/en/latest/recipes/dns-redirect.html

  • @chrismallia29
    @chrismallia29 6 лет назад

    Cool video :)). As for google chrome blocking udp port 443 and 80 blocks google"s quic protocol I think that would help

  • @La6er
    @La6er 6 лет назад

    Hi, I found your video very useful... but I have a question, is there any way to "imitate" squidguard(which I hate) what I mean is... on squidguard I can build different ACLs for my different LAN segments, so for example I want my 10.45.x.x lan to have facebook blocked, but my 10.20.x.x. segment available to use it... and also malware sites blocked for everyone... you think this is possible?, btw what a great video ! thanks for it

  • @danielbjohnson
    @danielbjohnson 5 лет назад

    Any problem using NAT to redirect external DNS to 127.0.0.1? Does that happen before or after the firewall rules?

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

    I am probably asking you a difficult question - I have two different interfaces, I want to block Ad + Social on one and on other I want to block only Ad. I was hoping to get custom alias built by pfblockerng and then use it in firewall rules. Right now I found some IP addresses and then added to the rule - though this is hard to maintain - what is your take?
    Thanks in advace :)

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

    applied all of that, and got warning in the browser, about the dns rebinding atack

  • @carlosnonone
    @carlosnonone 5 лет назад

    I tried and I cannot resolve any names on my network with the PFSense DNS Server.... Why did that happen?

  • @Maisonier
    @Maisonier 6 лет назад

    I tried this for youtube using easy list ... didn't work. I only do the part of adding pfblockerng, not that of dns.

  • @lukaslakas6697
    @lukaslakas6697 5 лет назад

    Thanks for the tutorial. It worked but if i change my Prefered DNS server on my PC. All sites were unblocked. How do I block DNS server address coming from the PC.? Thanks

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

    I'm just clear n more understanding to making up my own pfsensen blocked sits 😘

  • @emrelabarjr6803
    @emrelabarjr6803 5 лет назад

    I followed all your steps but wind up getting "Potential DNS Rebind attack detected..." When testing out 1 of the block sites. (your example. adspeed.net) Any suggestions?

    • @emrelabarjr6803
      @emrelabarjr6803 5 лет назад

      I got it to work. but now at the end of the video i added an IP address(not what you typed. My own) to bypass DNS like you did but its not working. Help?