2020 pfSense 2.4 DNS Redirect Tutorial: Completely control DNS on your network

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • Quick 10 Minute pfSense 2.4 DNS Redirect Tutorial: Completely control DNS on your network
    Intro - 0:00
    Check ISP DNS Servers - 1:06
    Configure System DNS - 2:06
    Enable DNS Resolver - 3:48
    Create Port Forwarding Rule - 4:40
    Check DNS Status - 7:08
    Outro - 10:08
    USECASE: To completely control DNS queries on your network
    docs.netgate.c...
    1 Decide what DNS servers you want to use
    Cloudflare: 1.1.1.1, 1.0.0.1
    Quad9: 9.9.9.9, 149.112.112.112
    OpenDNS: 208.67.222.222, 208.67.220.220
    Google: 8.8.8.8, 8.8.4.4
    2 Configure DNS servers at system level
    System / General Setup
    3 Enable DNS Resolver (Unbound)
    Services / DNS / Resolver / General Settings
    4 Create Port Forwarding Rule
    Firewall / NAT / Port Forward
    5 Check DNS Status
    Status / DNS / Resolver
    Firewall / Rules / LAN
    Diagnostics / States / States:
    Interface: LAN
    Filter expression: 8.8.8.8

ความคิดเห็น • 52

  • @Oswee
    @Oswee 2 ปีที่แล้ว +5

    DNS over TLS would be a nice topping on this one. Intercept and hide any DNS traffic (some ISP's and governments could not like that).

  • @rudypieplenbosch6752
    @rudypieplenbosch6752 ปีที่แล้ว +2

    Thanks for showing this tutorial, i also had a problem with DNSBL, this tutorial helped me fix that problem as well, many thanks.

  • @SourceSure
    @SourceSure 4 ปีที่แล้ว +6

    Thanks for the nice tutorial. Very well structured and explained 👍

  • @maelstromeous
    @maelstromeous 3 ปีที่แล้ว +2

    Great tutorial, everythings all going over port 853 with some extra modifications! :D

  • @droidchevere
    @droidchevere 2 ปีที่แล้ว +1

    Very straight forward , Well done , Praise the Upload ! (Playing too much Elden Ring at the moment )

    • @DATApush3r
      @DATApush3r  2 ปีที่แล้ว +1

      Hidden path ahead, offer rump.

    • @droidchevere
      @droidchevere 2 ปีที่แล้ว +1

      @@DATApush3r try fingers

  • @otoolepw
    @otoolepw 4 ปีที่แล้ว +6

    An excellent tutorial, many thanks!

    • @angelokaiden7196
      @angelokaiden7196 3 ปีที่แล้ว

      I guess im asking the wrong place but does anyone know of a tool to get back into an instagram account??
      I was dumb forgot the account password. I would love any assistance you can give me

    • @westonelliott573
      @westonelliott573 3 ปีที่แล้ว

      @Angelo Kaiden instablaster =)

    • @angelokaiden7196
      @angelokaiden7196 3 ปีที่แล้ว

      @Weston Elliott Thanks so much for your reply. I got to the site on google and Im trying it out atm.
      Seems to take a while so I will reply here later with my results.

    • @angelokaiden7196
      @angelokaiden7196 3 ปีที่แล้ว

      @Weston Elliott It did the trick and I actually got access to my account again. Im so happy!
      Thanks so much, you really help me out !

    • @westonelliott573
      @westonelliott573 3 ปีที่แล้ว

      @Angelo Kaiden You are welcome xD

  • @ricardomontez2298
    @ricardomontez2298 8 หลายเดือนก่อน +2

    great tutorial worked amazing thank you

  • @maruszewicz2465
    @maruszewicz2465 3 ปีที่แล้ว +3

    Awsome tutorial

  • @drreality1
    @drreality1 4 ปีที่แล้ว +3

    Thanks for the tutorial 👍

  • @koderkev42
    @koderkev42 ปีที่แล้ว +2

    Thank you sir!

  • @nick4paokara
    @nick4paokara ปีที่แล้ว +2

    youre a legend!

  • @kanes5105
    @kanes5105 4 ปีที่แล้ว +3

    Great explanation, I'm new to pfsense but really like it so far. Do you have anything in regards to isolating iOT devises, or the best solution for doing this? Again, great video, easy to follow and understand. thanks!

    • @DATApush3r
      @DATApush3r  4 ปีที่แล้ว +1

      Hey Kane, there are a number of ways to do this but it really depends on your network architecture. If you have multiple interfaces on your pfSense router, you can just use one to hang a switch off and configure a separate subnet. If you have a managed switch and can run separate VLANs then you can isolate the IoT devices on a separate broadcast domain. th-cam.com/video/b2w1Ywt081o/w-d-xo.html

  • @ktube98
    @ktube98 4 ปีที่แล้ว +2

    Nice tutorial, thanks. You mentioned requests - what about how to configure IPV6? Kind of a big topic I guess...

    • @DATApush3r
      @DATApush3r  4 ปีที่แล้ว +2

      That is a big can of worms indeed! Good topic though! I'm with Telstra NBN and they do provide IPv6 support. I got it partially working when I was messing around with it last. I could ping6 IPv6 addresses / resolve IPv6 DNS from the router itself but not any of the clients on the network. I've found that IPv6 support really depends on your ISP and how they implement it. It would be difficult to create a one size fits all IPv6 tutorial for consumer grade internet. What ISP are you with Jim?

  • @macster1457
    @macster1457 3 ปีที่แล้ว +2

    so many steps to achieve this.. what I like about Tomato firmware is that there is literally one box you click and it does the same thing...it prevents any devices from bypassing the router's dns server.

    • @DATApush3r
      @DATApush3r  3 ปีที่แล้ว

      Tomato and dd-wrt are awesome! I think it's more complex with pfsense because it's more configurable. With more flexibility comes more complexity in the configuration. pfSense is like a Swiss army knife for networking where tomato is more like a butter knife. Both are great!

  • @vineetmaan1
    @vineetmaan1 3 ปีที่แล้ว +1

    can you make a tutorial for blocking all network access for a device ( which is already connected )from pf sense ?

  • @zk321
    @zk321 8 หลายเดือนก่อน

    Thank you so much I have a machine from rogers and they do not allow much customization , I plan to put it in bridged mode and use pfsense or a cheaper alternative any advice !!!!😊

  • @souk-tv
    @souk-tv 4 หลายเดือนก่อน +1

    What would be different if you were adding a separate dedicated DNS server in between this, like pihole or adguard home?

    • @DATApush3r
      @DATApush3r  4 หลายเดือนก่อน +1

      This is a good question, I tried setting this up before but the redirect will get stuck in a loop due to DNS being redirected at the router level. I think how I got around this is, setting DNS server to point to pihole / adguard in the DHCP server settings but you will have to remove / change the DNS redirect.

  • @greengateacreshomestead4324
    @greengateacreshomestead4324 4 ปีที่แล้ว +2

    The Forward Rule does't seem to work. I forced my computer to use Google DNS and checked with DNS Leak and pfsense don't seems to enforce the rule. Not sure what I am doing wrong.

    • @DATApush3r
      @DATApush3r  4 ปีที่แล้ว

      Hey Bogdan, What does the order of your rules look like under Firewall/Rules/LAN? The NAT redirect rule has to be at the top.

    • @teddymller1656
      @teddymller1656 3 ปีที่แล้ว +1

      Hi Bogdan, I had the exact same issue. But I browsed around and found that if you uncheck "DNS Query Forwarding" under DNS resolver, it will work as intended. (it did for me. ;) )

  • @BradleyBell83
    @BradleyBell83 ปีที่แล้ว

    If you have multiple interfaces, is it required to create a port forward rule for each interface or does the Invert Match selection take care of that?

  • @joepalovick1915
    @joepalovick1915 3 ปีที่แล้ว

    Great video but I don’t understand what you are using unbound for if you have Cloudflare configured as the DNS endpoint. I would have thought it would be either unbound or Cloudflare in your example so I don’t understand what you are using unbound for?

    • @2008spoonman
      @2008spoonman 3 ปีที่แล้ว

      Unbound is for giving internet access to your clients.

  • @profwael2339
    @profwael2339 3 ปีที่แล้ว

    Thank you boss for that video but i need to ask you my problem for local dns i have active directory domain in windows server when i enable dns resolve in pfsense i can't join any pc clients to my domain and if i disabled dns resolve in pfsense i can join any pc clients to domain but no internet connection can you tell me how i fix that problem step by step i have to much problem for that issue thank you again and best regards, wael

  • @mohsinalibhatti7072
    @mohsinalibhatti7072 4 ปีที่แล้ว +1

    I want to redirect my open vpn user to my local ips, every time i have to put ip entries in my openvpn users computers host file.

    • @DATApush3r
      @DATApush3r  4 ปีที่แล้ว

      You want to redirect OpenVPN users to local IPs on your network via domain names or via IP? If it's domain names then it's a DNS issue, if it's by IPs then it's likely a routing issue.

  • @RaMpAgE3007
    @RaMpAgE3007 3 ปีที่แล้ว

    more on pfsense please dude

  • @jimmatrix7244
    @jimmatrix7244 4 หลายเดือนก่อน

    DNS resolver status shows no data.

  • @muhammadaamir566
    @muhammadaamir566 ปีที่แล้ว

    I have configured OpenDNS Server on LAN with DHCP... I want to by pass an Alias from OpenDNS Server and I want to pass that Alias through GoogleDNS??? how to do it?

  • @pavloskairis9994
    @pavloskairis9994 4 ปีที่แล้ว +1

    nice video but I did not understand the purpose of the NAT rule

    • @DATApush3r
      @DATApush3r  4 ปีที่แล้ว +6

      The NAT / Port Forward rule is used to capture all DNS requests sent to other DNS servers on your LAN and redirect them to your pfSense DNS server. This ensures that no other DNS servers other than the ones you specify are used by systems on your network. Does that make sense? Thanks for the comment!

  • @matthewballou3112
    @matthewballou3112 3 ปีที่แล้ว

    So if I redirect target port to custom 5353 for DNSFilter, that should work?

  • @publictoilet7832
    @publictoilet7832 3 ปีที่แล้ว +1

    hey bro, its is possible the dns resolver redirect to a pihole server instead of 127.0.01?

    • @DATApush3r
      @DATApush3r  3 ปีที่แล้ว +1

      Yes absolutely and a great idea! That's exactly what I do on my home network. This reddit post has some good responses:
      www.reddit.com/r/pihole/comments/btg2a2/how_do_i_redirect_all_dns_queries_from_my_pfsense/

    • @lossyferr971
      @lossyferr971 3 ปีที่แล้ว +1

      @@DATApush3r wow im gonna try this too! l
      thank you for your effort to share your expertise.

    • @publictoilet7832
      @publictoilet7832 3 ปีที่แล้ว +1

      hello bro i tried and it works but i have a multiple vlans so i have to add rule per vlan in nat rule again? and i noticed if i tick the invert selection the filter wont work so i leave untick.

  • @williemaddox9919
    @williemaddox9919 3 ปีที่แล้ว

    Why do you disable NAT reflection?

    • @DATApush3r
      @DATApush3r  3 ปีที่แล้ว

      The pfSense documentation for this task says "NAT Reflection: Disable". It also goes on to say "NAT reflection refers to the ability to access external services from the internal network using the external (usually public) IP address, the same as if the client were on the Internet.". I'm assuming it's to further lock down the ability to use your own specified external DNS server.

  • @blahx9
    @blahx9 ปีที่แล้ว

    might want to blur out your IP address

    • @DATApush3r
      @DATApush3r  10 หลายเดือนก่อน +1

      Normally I would have but as this is DHCP on the WAN, it's long long gone by now.

  • @jkcerrone
    @jkcerrone ปีที่แล้ว

    out dated