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

    Limiting rsync traffic

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 2 Posters 2.8k 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.
    • I
      intera5
      last edited by

      HI!

      I have an pfSense box (1.2.3-RELEASE) between my LAN and the ADSL (WAN).

      Currently, there's a NAS box that every midnight makes a copy to other NAS box outside the office using rsync protocol. Sometime, it takes a lot of time to make the copy, and makes the normal internet tasks really slow. So, I want to use traffic shaper to give priority to anything except rsync protocol. Any other protocol must give high priority over the rsync task.

      I've tried the wizard but I can't find the rsync protocol and how to give the lowest priority.

      Any idea and recomendation ?

      Thanks!

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

        In most cases rsync would look like ssh traffic, so if you shape/filter ssh it should catch rsync.

        Rsync also supports a –bwlimit=KBPS parameter so you can have the NAS box limit its own backup if you set, say --bwlimit=80 then it would go no higher than 80KByte/s (not that's Bytes, not bits.)

        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.