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

    Can't get pfBlockerNG to block pornhub.com

    Scheduled Pinned Locked Moved pfBlockerNG
    56 Posts 13 Posters 22.1k Views
    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.
    • LPD7L
      LPD7 @johnpoz
      last edited by

      @johnpoz Didnt realize that I had to own a thread to ask a question to which the thread was related. Maybe I didnt articulate the issue clearly. If a URL is using HTTPS it seems that the system is unable to see the URL because its encrypted and that additional steps are required to get it to see and filter based on a block list. That is a summary of what I have put together based on all of the feedback from various sources, all I am trying to do now is sift through everything and find the correct way to achieve the goal.

      Intelligence is not a substitute for common sense.
      Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
      Putting legacy equipment into service and out of landfills.

      JonathanLeeJ johnpozJ 2 Replies Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee @LPD7
        last edited by JonathanLee

        @lpd7 you can block https urls. Remember all browsers use what are called get requests, proxies use the get requests only to understand when you say that's a block. The data on https when a connection is made that's encrypted and comes after the get request is approved.

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @LPD7
          last edited by

          @lpd7 you can ask a question sure - but quite often users jump into a thread when their problem isn't the same.

          Doh in a browser circumvents your local dns - nslookup might show that the system is using your local dns (pfsense).. But the browser isn't if its using doh.

          If your device ask for something.domain.tld and you return 127.0.0.1 or 10.10.10.10 is isn't going to get to http or https://something.domain.tld

          But if using doh and it gets the public IP 1.2.3.4 for example - unless you block that actual IP, then sure the browser can get there.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • R
            Rainbowergy
            last edited by

            Make sure you have the latest version of pfBlockerNG installed. It's always good to stay up to date. Now, regarding the issue with blocking pornhub.com, it might be worth double-checking your category settings in Shallalist and UT1 Summary. Ensure that the appropriate categories related to adult content and porn are selected.

            1 Reply Last reply Reply Quote 1
            • Sergei_ShablovskyS
              Sergei_Shablovsky
              last edited by Sergei_Shablovsky

              Let’s put my 5c to this: small child from 7(?)yo able to install some app called “free VPN” and Your pfSense are out of game with this: until You not blocking ALL possible VPN protocols - access to PH are open to it…

              After You find abilities to blocking ALL possible VPN protocols, the NewNode protocol are from 1 tap away on child’s smartphone.
              And am not sure You have a sufficient skills to block NewNode… (sorry bro!)

              —
              CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
              Help Ukraine to resist, save civilians people’s lives !
              (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

              JonathanLeeJ 1 Reply Last reply Reply Quote 0
              • JonathanLeeJ
                JonathanLee @Sergei_Shablovsky
                last edited by

                @Sergei_Shablovsky I use proxy based blocking with certificates, the firewall can be set to inspect VPN tunnels also in advanced settings in pfSense or Snort. VPNs are not invincible by any means. Again proxy or dns blocking is not invincible also. Just depends on the amount of time it takes to get around the firewall. I think with the proxy it makes it take longer to get around it. You can make it block the ports that the VPN are using also, the free ones will always use the same ports, control access to that port…

                Make sure to upvote

                Sergei_ShablovskyS 1 Reply Last reply Reply Quote 0
                • Sergei_ShablovskyS
                  Sergei_Shablovsky @JonathanLee
                  last edited by

                  @JonathanLee said in Can't get pfBlockerNG to block pornhub.com:

                  @Sergei_Shablovsky I use proxy based blocking with certificates, the firewall can be set to inspect VPN tunnels also in advanced settings in pfSense or Snort. VPNs are not invincible by any means. Again proxy or dns blocking is not invincible also. Just depends on the amount of time it takes to get around the firewall. I think with the proxy it makes it take longer to get around it. You can make it block the ports that the VPN are using also, the free ones will always use the same ports, control access to that port…

                  I thinking that would be interesting for You to read https://github.com/clostra/newnode/blob/master/docs/newnode-spec.md

                  Just try on test iPhone/Android: connect to Your customers lan, install NewNode app, start pcap on an certain interface, and then try to connect to PH.
                  If pfSense able to block access, - You are win, I’m loose. If not - analyse the dump by WireShark and create additional FW rules…

                  NewNode VPN
                  https://apps.apple.com/us/app/newnode-vpn/id1473074621

                  NewNode
                  https://apps.apple.com/us/app/newnode/id1603136752

                  —
                  CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                  Help Ukraine to resist, save civilians people’s lives !
                  (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                  JonathanLeeJ 6 Replies Last reply Reply Quote 1
                  • JonathanLeeJ
                    JonathanLee @Sergei_Shablovsky
                    last edited by

                    @Sergei_Shablovsky said in Can't get pfBlockerNG to block pornhub.com:

                    https://github.com/clostra/newnode/blob/master/docs/newnode-spec.md

                    Thanks for the info, I will have to get a sandbox going to test this, I am doing classes again so I might not have time anytime soon.

                    Make sure to upvote

                    1 Reply Last reply Reply Quote 1
                    • JonathanLeeJ
                      JonathanLee @Sergei_Shablovsky
                      last edited by JonathanLee

                      @Sergei_Shablovsky

                      Hello again, I got some time, I am spinning up a VM to test it.

                      My CAL 2 class HW done, and checked, and POLS quiz done.

                      Just waiting for my one approved VM copy to download per my original Apple software license. I get one VM of the software to use onto of the host software.

                      Screenshot 2024-01-30 at 11.20.06.jpg

                      That software package says it stops host services so I want it in a sandbox/vm to test.

                      3-4 hrs for my vm to fully spin up I estimate. I am betting on AppID to spot it.

                      Make sure to upvote

                      1 Reply Last reply Reply Quote 0
                      • JonathanLeeJ
                        JonathanLee @Sergei_Shablovsky
                        last edited by

                        @Sergei_Shablovsky I have attempted 2 different installs over Virtualbox Version 7.0.8_BETA4 r156879 (Qt6.3.0) on M1 processor, all crash with the development version. I am going to create an ISO and move it to my Windows 11 system and install the VM there I should be able to test this sometime tomorrow. Sorry I even tried Unbuntu with M1 virtualbox. It acts like the iMac has something using the virtualization hardware.

                        Make sure to upvote

                        1 Reply Last reply Reply Quote 0
                        • JonathanLeeJ
                          JonathanLee @Sergei_Shablovsky
                          last edited by JonathanLee

                          @Sergei_Shablovsky All right I got my VM system spun up. I am going to test this now it is set up with proxy use and blocking is good inside VM

                          Screenshot 2024-01-30 at 22.52.01.jpg

                          I just have to install the VPN to test it now

                          Dang they even blocked me from using apple store in the vm

                          Screenshot 2024-01-30 at 23.03.43.png

                          I am going to have to find another way to download it... The virtual machine I want to test this on has download limitations.

                          Again my proxy works now so I am only one download away from using the VM for its cybersecurity test after I can delete it.

                          Screenshot 2024-01-30 at 23.13.49.jpg

                          I can not test this on the native os because it has a script that disables all services on the machine if you look at the GitHub. So it has to be in a sandbox environment, however my sandbox does not allow any App Store use. So I need the .dmg file somehow...

                          So how can I get the APP inside the VM if I can't get to the App Store?

                          I am working on side loading it now

                          Make sure to upvote

                          1 Reply Last reply Reply Quote 0
                          • JonathanLeeJ
                            JonathanLee @Sergei_Shablovsky
                            last edited by JonathanLee

                            @Sergei_Shablovsky I am going to git hub clone it

                            My concern is the apple store version could be different.

                            Screenshot 2024-02-01 at 09.13.54.png

                            Screenshot 2024-02-01 at 10.04.03.png

                            Make sure to upvote

                            Sergei_ShablovskyS 1 Reply Last reply Reply Quote 0
                            • JonathanLeeJ
                              JonathanLee @Sergei_Shablovsky
                              last edited by JonathanLee

                              @Sergei_Shablovsky Sorry but....

                              Netgate WON with the correct ACLs access rules. My firewall already has Newnode's VPN port blocked..

                              VPN connection is dead on first test Netgate stomped it out.

                              Screenshot 2024-02-01 at 11.02.35.png

                              I got it installed and it started however will not connect because the firewall blocks access to ports it wants. It's not approved with proper Access Control Lists NewNode is not an issue, however this is dependent on someone that can configure a ACL list correctly, many home users do the default so this would work with default settings.

                              For now it is blocked on my VM test. I am going to spin down and delete this VM

                              Screenshot 2024-02-01 at 11.05.22.png

                              This is a scary VPN it disables the native firewall on osX also...

                              Make sure to upvote

                              Sergei_ShablovskyS 1 Reply Last reply Reply Quote 0
                              • Sergei_ShablovskyS
                                Sergei_Shablovsky @JonathanLee
                                last edited by

                                @JonathanLee said in Can't get pfBlockerNG to block pornhub.com:

                                @Sergei_Shablovsky I am going to git hub clone it

                                My concern is the apple store version could be different.

                                Screenshot 2024-02-01 at 09.13.54.png

                                Screenshot 2024-02-01 at 10.04.03.png

                                I know from developer’s side, that GutHub and iOS/macOS versions are a little bit different.

                                But not too much.

                                —
                                CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                Help Ukraine to resist, save civilians people’s lives !
                                (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                1 Reply Last reply Reply Quote 0
                                • Sergei_ShablovskyS
                                  Sergei_Shablovsky @JonathanLee
                                  last edited by

                                  @JonathanLee said in Can't get pfBlockerNG to block pornhub.com:

                                  @Sergei_Shablovsky Sorry but....

                                  Netgate WON with the correct ACLs access rules. My firewall already has Newnode's VPN port blocked..

                                  VPN connection is dead on first test Netgate stomped it out.

                                  Screenshot 2024-02-01 at 11.02.35.png

                                  I got it installed and it started however will not connect because the firewall blocks access to ports it wants. It's not approved with proper Access Control Lists NewNode is not an issue, however this is dependent on someone that can configure a ACL list correctly, many home users do the default so this would work with default settings.

                                  Is it possible for You to test both NewNode and NewNode VPN on Your iPhone?

                                  —
                                  CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                  Help Ukraine to resist, save civilians people’s lives !
                                  (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                  JonathanLeeJ 1 Reply Last reply Reply Quote 0
                                  • JonathanLeeJ
                                    JonathanLee @Sergei_Shablovsky
                                    last edited by

                                    @Sergei_Shablovsky The only way would be to create a virtualization instance of the iPhone, I can look into it. Can I ask why? Any iPhone can simply turn off WiFi to bypass the firewall.

                                    Make sure to upvote

                                    Sergei_ShablovskyS 2 Replies Last reply Reply Quote 0
                                    • Sergei_ShablovskyS
                                      Sergei_Shablovsky @JonathanLee
                                      last edited by

                                      @JonathanLee said in Can't get pfBlockerNG to block pornhub.com:

                                      @Sergei_Shablovsky The only way would be to create a virtualization instance of the iPhone, I can look into it. Can I ask why? Any iPhone can simply turn off WiFi to bypass the firewall.

                                      I try to understand if NewNode in VM has different behavior than NewNode app/VPN in real iOS device.

                                      —
                                      CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                      Help Ukraine to resist, save civilians people’s lives !
                                      (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                      JonathanLeeJ 1 Reply Last reply Reply Quote 0
                                      • JonathanLeeJ
                                        JonathanLee @Sergei_Shablovsky
                                        last edited by

                                        @Sergei_Shablovsky I can't help you with that I can only test with a virtual machine. The risk is too high to test on a live machine, sorry.

                                        Make sure to upvote

                                        Sergei_ShablovskyS 1 Reply Last reply Reply Quote 1
                                        • Sergei_ShablovskyS
                                          Sergei_Shablovsky @JonathanLee
                                          last edited by

                                          @JonathanLee said in Can't get pfBlockerNG to block pornhub.com:

                                          @Sergei_Shablovsky Can I ask why? Any iPhone can simply turn off WiFi to bypass the firewall.

                                          For situation where cell signals blocked and only in-house WiFi or wire are an options.

                                          —
                                          CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                          Help Ukraine to resist, save civilians people’s lives !
                                          (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                          JonathanLeeJ 1 Reply Last reply Reply Quote 0
                                          • JonathanLeeJ
                                            JonathanLee @Sergei_Shablovsky
                                            last edited by

                                            @Sergei_Shablovsky they have virtual phone software for Android, Palm Pre, and many others they should also have one for iPhone I just got to find an official one.

                                            Make sure to upvote

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.