Bandwidth management with FreeBSD (using ipfw)

You have FreeBSD installed on your server and you want to manage your bandwidth, here is a short example to start:

ipfw add pipe 1 ip from any to 192.168.2.x out
ipfw add pipe 2 ip from 192.168.2.x to any in
ipfw pipe 1 config bw 10KB/s queue 10  # download speed
ipfw pipe 2 config bw 5KB/s queue 10   # upload speed

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)