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

    Rate-limit an opened trafic

    Scheduled Pinned Locked Moved Traffic Shaping
    6 Posts 3 Posters 2.2k 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.
    • D
      dominique.fournier
      last edited by

      Hi,

      Actually, I have a SSH connection with a high transfer rate that block all the service. I want to rate limit only this connection but without kill it. I create a limiter at 33kb/s, I try to add a rule in the firewall with ip source and destination, but it doesn't work. I think as the connection is already established, it is not taken by the rate limiter.

      So, how should I limit this guy ?

      Thanks a lot !!

      2.1 (amd64)

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        You may need to reset firewall states to apply it to current traffic.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • D
          dominique.fournier
          last edited by

          @marcelloc:

          You may need to reset firewall states to apply it to current traffic.

          I can do that, but, I think it will cut the SSH connection. I would like to apply my filter without cutting the transfer…

          2.1 (amd64)

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            There isn't anything you can do to apply a limit to an active connection. The shaper, limiters, etc, all apply when a state is created. They don't apply to open connections.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • D
              dominique.fournier
              last edited by

              Thanks for this answer. Can I imagine a rate-limiter with no limit and change it to a limited rate-limiter without cutting the connection ?

              2.1 (amd64)

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Not that I'm aware of, I think it would end up the same, only applying to new connections.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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