Monday, January 11, 2010

Bandwidth throttling with Macs

To prevent Serkan to leech all of the bandwidth and cause problems for the rest:

sudo su -
# ipfw pipe 1 config bw 200kbit/s
# ipfw add pipe 1 dst-port http
# ipfw add pipe 1 dst-port https
# ipfw add pipe 1 src-port http
# ipfw add pipe 1 src-port htps

And it appears to work...

For other services check /etc/services:

Nicked from this useful listing. I don't know much about BSD compared to Linux.

No comments: