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

    Pfsense will not reset active connections

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.3k 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.
    • B
      b1llyb0y
      last edited by

      Hi all,

      I'm trying to block my daughters minecraft access at certain times of the day .. (10 am - 5 pm she can play)  .. I have made a rule which blocks packets during these times, however If she is already playing minecraft pfsense will not kill the connection ..

      How can I get pfsense to kill the connection after 5 pm?

      ID Proto       Source Port Destination Port Gateway Queue Schedule Description

        • *        LAN Address         22        *          *                          Anti-Lockout Rule
                                                                                                          80
                                                                                                          443

      TCP 192.168.1.24 * *                 25565 - 40000   none Minecraft Minecraft Schedule

      *               LAN net * *                 *     *            none                 Default allow LAN to any rule

      Minecraft  
      Mon - Sun 17:00-23:59 Minecraft Off
      Mon - Sun 0:00-10:00 Minecraft Off
      Minecraft play times

      Any help would be greatly appreciated!

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

        It won't block it because the server has probably shifted the connection to a different port.

        You will need to install an IP block that blocks her access to the Internet for probably 5-10 minutes at 5pm, long enough for the server to timeout and kill the connection.

        I would set up an infinite (reserved) DHCP lease so that her system always gets the same IP address.

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