• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Stopping Ads - Best Way

Firewalling
4
22
1.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mcury @JonathanLee
    last edited by Sep 20, 2023, 2:07 PM

    @JonathanLee That will redirect any connections that is not for WIFI address port 53, to 127.0.0.1:53, forcing the use of pfsense's DNS server (unbound).

    pfsense itself is using 127.0.0.1 too.

    🔒 Log in to view

    dead on arrival, nowhere to be found.

    J O 2 Replies Last reply Sep 20, 2023, 2:17 PM Reply Quote 1
    • J
      JonathanLee @mcury
      last edited by Sep 20, 2023, 2:17 PM

      @mcury This is how I am doing mine as it would never work for me with only the loopback

      🔒 Log in to view
      (Netgated rule)

      🔒 Log in to view
      (alias)

      This was the only way it would work for me I also attempted the loopback only version

      Make sure to upvote

      M 1 Reply Last reply Sep 20, 2023, 2:23 PM Reply Quote 0
      • M
        mcury @JonathanLee
        last edited by Sep 20, 2023, 2:23 PM

        @JonathanLee said in Stopping Ads - Best Way:

        This was the only way it would work for me I also attempted the loopback only version

        hmm, I wonder if your Unbound is listening in the loopback ?
        For this to work, Unbound needs to be listening in the loopback too.

        dead on arrival, nowhere to be found.

        J 1 Reply Last reply Sep 20, 2023, 2:27 PM Reply Quote 0
        • J
          JonathanLee @mcury
          last edited by Sep 20, 2023, 2:27 PM

          @mcury

          🔒 Log in to view

          Loopback used DNS over TLS SSL

          🔒 Log in to view
          Custom options because of ipv4 only isp restrictions

          WPAD in use for proxy with DHCP options 252 and 42 enabled

          🔒 Log in to view

          Interesting I could only get this to work with use of both loopback and firewalls address

          Make sure to upvote

          M 1 Reply Last reply Sep 20, 2023, 2:34 PM Reply Quote 0
          • O
            oznet @mcury
            last edited by Sep 20, 2023, 2:33 PM

            @mcury If I use this setting wont it ignore the adguard dns servers as I would think these would be considered remote dns?

            J 1 Reply Last reply Sep 20, 2023, 2:36 PM Reply Quote 0
            • M
              mcury @JonathanLee
              last edited by Sep 20, 2023, 2:34 PM

              @JonathanLee said in Stopping Ads - Best Way:

              Interesting I could only get this to work with use of both loopback and firewalls address

              hm, indeed, I can't see at this moment a reason why it wouldn't work..

              The idea behind that NAT is simple, force everything that refuses to use pfsense's DNS server to use it.
              Unbound forward mode is disabled, which means, use pfsense's DNS server for everything and if not in cache or in domain/host override, query root servers directly.
              Also, ignore ISP's DNS servers provided by DHCP on WAN.

              Resuming, everything will be filtered by pfblockerNG DNSBL.

              I can see that its working..

              🔒 Log in to view

              In the picture above, left side, all hosts that shows up with a destination port 53, I know that were trying to use another DNS server, QUIC will show up using UDP 80/443 and DOT (TCP-853).

              The right side, I'm just filtering for connections to 10.10.10.1

              dead on arrival, nowhere to be found.

              J 1 Reply Last reply Sep 20, 2023, 2:37 PM Reply Quote 1
              • J
                JonathanLee @oznet
                last edited by Sep 20, 2023, 2:36 PM

                @oznet my firewall's address is the 192.168.1.1 so if you set it to allow the firewall itself it should still work as when the address hits the firewall it would still convert to the loopback for the resolve anyway.

                🔒 Log in to view

                I use the 853 tls dns sites, sometimes I get hit with scans that use decoy addresses of my dns servers that causes issues once and a while snort blocks it.

                Make sure to upvote

                1 Reply Last reply Reply Quote 0
                • J
                  JonathanLee @mcury
                  last edited by Sep 20, 2023, 2:37 PM

                  @mcury I notice you allow QUIC. Palo Alto just created software to decode it recently. I am wondering how you are using that?

                  Make sure to upvote

                  M 1 Reply Last reply Sep 20, 2023, 2:40 PM Reply Quote 0
                  • O
                    oznet @keyser
                    last edited by Sep 20, 2023, 2:38 PM

                    @keyser What is this setting called, I dont see that?

                    J K 2 Replies Last reply Sep 20, 2023, 2:39 PM Reply Quote 0
                    • J
                      JonathanLee @oznet
                      last edited by Sep 20, 2023, 2:39 PM

                      @oznet I see it in your graph, it's HTTPS 3 or HTTPS over UDP

                      Make sure to upvote

                      1 Reply Last reply Reply Quote 0
                      • M
                        mcury @JonathanLee
                        last edited by Sep 20, 2023, 2:40 PM

                        @JonathanLee said in Stopping Ads - Best Way:

                        @mcury I notice you allow QUIC. Palo Alto just created software to decode it recently. I am wondering how you are using that?

                        I'm blocking QUIC entirely with a reject rule, this means that the browser will receive a 'no-go' as soon as it tries to use QUIC, thus reverting the connection to normal TCP.

                        If you use drop, it will slow down everything.

                        You want the browser to know that QUIC won't work as soon as possible so it can use the TCP protocol without any delays.

                        dead on arrival, nowhere to be found.

                        J 1 Reply Last reply Sep 20, 2023, 2:43 PM Reply Quote 1
                        • J
                          JonathanLee @mcury
                          last edited by Sep 20, 2023, 2:43 PM

                          @mcury They have some youtube videos out there with how to decode QUIC it is amazing stuff.

                          Make sure to upvote

                          M 1 Reply Last reply Sep 20, 2023, 2:53 PM Reply Quote 0
                          • M
                            mcury @JonathanLee
                            last edited by Sep 20, 2023, 2:53 PM

                            @JonathanLee said in Stopping Ads - Best Way:

                            @mcury They have some youtube videos out there with how to decode QUIC it is amazing stuff.

                            I'll take a look at it, definitely will..
                            I have been treating QUIC as an insect, a bug that needs to be smashed..
                            Just like DOH or DOT.

                            These techniques (DOH and DOT), in my opinion, were developed not for privacy, but to avoid ADs blocking. To increase their revenue, but this is just my opinion.

                            QUIC is another thing, it is faster.. But how can you control it?

                            dead on arrival, nowhere to be found.

                            J 1 Reply Last reply Sep 20, 2023, 2:58 PM Reply Quote 0
                            • J
                              JonathanLee @mcury
                              last edited by Sep 20, 2023, 2:58 PM

                              @mcury I agree one can say they were created to avoid CCPA and GDPR laws. They do not follow official protocol compliance.

                              Make sure to upvote

                              1 Reply Last reply Reply Quote 1
                              • K
                                keyser Rebel Alliance @oznet
                                last edited by Sep 20, 2023, 5:19 PM

                                @oznet DNS Query Forwarding: Enable Forwarding mode

                                Love the no fuss of using the official appliances :-)

                                1 Reply Last reply Reply Quote 1
                                17 out of 22
                                • First post
                                  17/22
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.