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

    Block Steam traffic on schedule? possible?

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 2 Posters 1.4k 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.
    • T
      thecableguy
      last edited by

      Has anyone successfully managed to block all Steam client and game traffic on a schedule?

      I have tried everything listed on this forum, asked for assistance, searched the web for solutions without any success..

      I have a teenageer with an internet addiction and we are getting counselling for this issue however we can not just stop the gaming altogether as per the professional advice given.

      If someone could please assist, I would be happy to throw a Paypal donation if we can get something reliable in place.

      Thanks :(

      1 Reply Last reply Reply Quote 0
      • P
        pfBasic Banned
        last edited by

        What you want to do in this situation is - stop paying for "professional counseling" to get your kid to stop playing video games all the time.

        Then you want to sell the kid's Xbox/PS4/Wii/Alienware/GameBoy/etc. that you probably bought for him in the first place on Craigslist.

        Next you're going to take all that money you recouped/saved and buy this book
        Alternatively, you can just send all that money to my PayPal account in return for my "professional counsel"  ;D.

        Finally, (most important step) you're going to want to inform your child about the "outdoors" and "non-virtual reality", additionally there are "friends" one can make IRL instead of on IRC. As a side note - maybe provide a pair of sunnies, the sun is bright.

        Now if you don't have the time or inclination for all that "raising your child" hassle, you can just block the ports on this webpage which is incidentally a top google hit for "block steam download". https://support.steampowered.com/kb_article.php?ref=8571-GLVN-8711

        :)

        1 Reply Last reply Reply Quote 0
        • T
          thecableguy
          last edited by

          Not helpful.

          I didn't ask for assistance in raising my teenager smartass.

          I have tried to block the ports, the UDP session will not clear on the scheduled PASS rule above my block rule.

          1 Reply Last reply Reply Quote 0
          • P
            pfBasic Banned
            last edited by

            See my PM, bottom line - blocking Steam on a box isn't a really great way to stop your teen from playing video games, saying "no" is probably better… but it can be done.

            the UDP session will not clear on the scheduled PASS rule above my block rule.

            Reset the states - cron will do this on a schedule if you tell it to.

            If your scheduled rule starts passing @ 11:30AM every day then.

            31	11	*	*	*	root	pfctl -F state
            

            Now all those blocked states are reset right after you start allowing them again. If the inverse problem arises (passed sessions during hours of blocking) then just write another cron job to flush the states right after you stop passing traffic.

            1 Reply Last reply Reply Quote 0
            • T
              thecableguy
              last edited by

              Thanks for the PM and the technical advice.

              I will give the state flush a go.

              1 Reply Last reply Reply Quote 0
              • T
                thecableguy
                last edited by

                Is there a difference in CRON from /sbin/pfctl -k >IP< and pfctl -k >IP

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