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

    How to block netflix

    General pfSense Questions
    6
    13
    5.1k
    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.
    • O
      OpenWifi
      last edited by

      Hello everyone, how could i block netflix on my pfsense box network, both the app and web ?

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by NogBadTheBad

        Snort & openappid-streaming_media rules.

        https://docs.netgate.com/pfsense/en/latest/ids-ips/setup-snort-package.html

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        O 1 Reply Last reply Reply Quote 0
        • O
          OpenWifi @NogBadTheBad
          last edited by

          @NogBadTheBad Already tried that but it blocks the host ip address, only need netflix blocked

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You could try blocking them by AS number. Looks like AS2906 from a quick google. Plug that into pfBlocker to make an alias.

            Selection_643.png

            Or add it manually:
            https://docs.netgate.com/pfsense/en/latest/firewall/blocking-websites.html#blocking-facebook

            I've never tried that personally.

            Steve

            1 Reply Last reply Reply Quote 0
            • M
              mveplus
              last edited by

              Hello @OpenWifi, did you tried @stephenw10 ASN_List suggestion, does it work?
              I guess if it does not you can always extract the IP's manually and add them in:
              https://ipinfo.io/AS2906

              Regards,
              Martin

              O 1 Reply Last reply Reply Quote 0
              • O
                OpenWifi @mveplus
                last edited by

                @mveplus it did not work, i can still be able to use netflix, let me try adding the ip manually. Thank you

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @OpenWifi
                  last edited by

                  @OpenWifi said in How to block netflix:

                  did not work

                  The IP's you obtained using Netflix were not hosted by the AS ?
                  If not, whois the IP, locate the AS, and add that also to the list.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • NogBadTheBadN
                    NogBadTheBad
                    last edited by

                    @Gertjan said in How to block netflix:

                    The IP's you obtained using Netflix were not hosted by the AS ?
                    If not, whois the IP, locate the AS, and add that also to the list.

                    Should the example from @stephenw10 have had ASN rather than whois ?

                    Never used whois with pfBlockerNG but have used ASN.

                    Screenshot 2019-06-18 at 10.45.08.png

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      ASN is not an option for me. Are you running pfBlocker-dev?

                      Whois is the correct option in the non-dev package:

                      Whois:
                      Convert a Domain name or AS into its respective IP addresses.

                      Steve

                      1 Reply Last reply Reply Quote 1
                      • NogBadTheBadN
                        NogBadTheBad
                        last edited by

                        Ah I'm running dev ☺

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                        1 Reply Last reply Reply Quote 0
                        • S
                          sabinlal28
                          last edited by

                          ![alt text](pfblocker.png image url)

                          this works for me

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            OpenWifi @sabinlal28
                            last edited by

                            @sabinlal28 i can see thats facebook, what about netflix

                            1 Reply Last reply Reply Quote 0
                            • S
                              sabinlal28
                              last edited by

                              Netflix has asn of 2906 40029 55059 136292 and so on you can find it in .. then after that you can do the needed for that

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