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

    Close connection via SSH / WebGUI?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.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.
    • G Offline
      Gamienator
      last edited by

      Hello everyone,

      I got a qeustion about pfsense: In two weeks I'm hosting a LAN-Party with a pfsense with 3 WAN connections and running iftop to monitor if one user is making a mess with out bandwith :p

      Now my question: Is it possible to kill a connection from a specific IP?

      For example: I see that user 10.10.5.77 downloading with 10 Mbit/s from IP 12.23.45.56 and I don't want it. Only putting a firewall doesn't work, the connection is still active. How do I kill it then? Does anyone have a hint?

      Cheers,

      Gamie

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        put a fw rule & kill the states

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gamienator
          last edited by

          Kill the State?

          What do you mean with that? Deactivating the WAN interface?

          1 Reply Last reply Reply Quote 0
          • J Offline
            javcasta
            last edited by

            Hi

            @Gamienator:

            Kill the State?

            What do you mean with that? Deactivating the WAN interface?

            I think there is a gui way for do it:

            Via GUI:      Diagnostics / States / Reset States > Mark " Reset the firewall state table" & click RESET Button (take carefull, because reset all firewall states conexions)

            Regards

            Javier Castañón
            Técnico de comunicaciones, soporte y sistemas.

            Mi web: https://javcasta.com/

            Soporte scripting/pfSense https://javcasta.com/soporte/

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gamienator
              last edited by

              Oh … But if it kill every connection that wouldn't be that optimal  :o

              EDIT: Maybe there is a way:

              https://doc.pfsense.org/index.php/Show_States

              IIUC there is a list with all the connections, and then I could filter that connection and kill it.

              1 Reply Last reply Reply Quote 0
              • J Offline
                javcasta
                last edited by

                Hi.

                You yourself have answered the question in Excel form.

                :)

                Regards

                Javier Castañón
                Técnico de comunicaciones, soporte y sistemas.

                Mi web: https://javcasta.com/

                Soporte scripting/pfSense https://javcasta.com/soporte/

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