View Full Version : [all variants] Limit Upload speed by port
May 11th, 2008, 05:16 AM
So...I have a Linux server that I have an FTP server on. The problem is, anytime someone wants to pull from the FTP, they saturate my upload speed. This causes little packets like DNS requests and other things to not make it out in a timely manner, killing my internet connection.
How do I limit the speed for just ftp (or any other service) for ONLY upload speed using iptables?
May 11th, 2008, 05:04 PM
Unfortunately, I don't know of anything that uses iptables. The most coherent set of instructions I can find uses squid:
Hope this helps...
May 11th, 2008, 05:15 PM
Limiting the speed with iptables is not the best idea I guess. I would recommend limiting the network speed with the ftp server configuration - it should be available (in vsftpd it is with anon_max_rate and local_max_rate).
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.