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

    How to limit bandwidth for social media

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 7 Posters 2.1k Views 8 Watching
    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.
    • stephenw10S Online
      stephenw10 Netgate Administrator
      last edited by

      No worries. 😉

      1 Reply Last reply Reply Quote 1
      • S Offline
        smmpanelindonesia58
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • N Offline
          nimrod @stephenw10
          last edited by nimrod

          @stephenw10 said in How to limit bandwidth for social media:

          pfBlocker can deal with AS numbers and create aliases from the lists of IPs. Then you can use those alises in firewall rules.

          pfBlocker will handle updating the alises periodically. For example:

          Selection_667.png

          Steve

          Hey Steve. Quick question while we are on topic. I see on the screenshot that you have update frequency set on weekly. Since there are no links in IPv4 fields, does that mean "an update" will refresh ASN data and update the IP`s in the alias ?

          Thanks again for sharing this because, so far this is how i did it.

          I execute this into terminal

          whois -h whois.radb.net -- '-i origin AS15169' | awk '/^route:/ {print $2;}' | sort | uniq
          

          And then copy output into the TXT file and then use alias import function to create an alias that i use in firewall rule.

          Its a hassle. I know.

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

            Yes it updates them. You can check the pfBlocker logs:

            
            ===[  IPv4 Process  ]=================================================
            
            [ Spamhaus_drop_v4 ]		 static hold.
            [ Google_v4 ]			 Downloading update .
              Downloading ASN: 15169... completed
            . completed ..
            
            [ Facebook_v4 ]			 Downloading update [ 04/15/24 00:00:37 ] .
              Downloading ASN: 32934... completed
            . completed ..
            
            [ Netflix_v4 ]			 Downloading update [ 04/15/24 00:00:39 ] .
              Downloading ASN: 2906... completed
            . completed ..
            
            [ Test_Range_custom_v4 ]	 exists. [ 04/15/24 00:00:40 ]
            [ o365_alias_v4 ]		 exists.
            
            N 1 Reply Last reply Reply Quote 1
            • N Offline
              nimrod @stephenw10
              last edited by

              @stephenw10 said in How to limit bandwidth for social media:

              Yes it updates them. You can check the pfBlocker logs:

              
              ===[  IPv4 Process  ]=================================================
              
              [ Spamhaus_drop_v4 ]		 static hold.
              [ Google_v4 ]			 Downloading update .
                Downloading ASN: 15169... completed
              . completed ..
              
              [ Facebook_v4 ]			 Downloading update [ 04/15/24 00:00:37 ] .
                Downloading ASN: 32934... completed
              . completed ..
              
              [ Netflix_v4 ]			 Downloading update [ 04/15/24 00:00:39 ] .
                Downloading ASN: 2906... completed
              . completed ..
              
              [ Test_Range_custom_v4 ]	 exists. [ 04/15/24 00:00:40 ]
              [ o365_alias_v4 ]		 exists.
              

              Awesome. Thank you very much sir !!!!

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