Nov 04 |
Advanced OS X users know that Darwin comes with ipfw, which can be used to set up a custom firewall. IPFW’s flexibility, very targeted bandwidth limiting rules can be made in only a few lines. This same service however can be used to also limit bandwidth on specific ports.
The following ipfw rules will limit connections from Mac to ISP’s mail server to 100K per second only for outgoing smtp connections:
sudo ipfw pipe 1 config bw 100Kbit/s
sudo ipfw pipe 1 tcp from me to smtp.west.cox.net 25
Obviously, the rate can be tailored to anything you like, and the rule is specific enough not to ...(continue read)
tags: net
tags: net



Recent Comments