AFP548 Changing the world one server at a time.

How to limit ftp brandwith ?

Home › Forums › OS X Server and Client Discussion › File Serving › How to limit ftp brandwith ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #365142
    bpourcel
    Participant

    Hello

    Is there a solution to limit built-in ftp brandwith in OSX Server X.4.4 ?

    Thanks for your answers.

    Bertrand (France)

    #365164
    bpourcel
    Participant

    Ok, i’ll be back… like Arnold said…

    #365169
    cedge
    Participant

    You can use the “ipfw pipe ” (and of course a few more lines to shape the traffic) to limit bandwidth from the command line. Man ipfw and read the section on pipe/Dummynet for more information. Something like this:

    ipfw add pipe 1 ip from any to any in via en0
    ipfw add pipe 2 ip from any to any in via en1

    ipfw pipe 1 config mask src-ip 0xffffffff bw 128kbits/s
    ipfw pipe 2 config mask dst-ip 0xffffffff bw 128kbits/s

    Hope this helps,

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.