Editing
FreeBSD Reference
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Setting up bandwidth caps on a jail == If there's a situation where a VPS (or VPSs) on a jail are spiking bandwidth, but it's hard to tell who's the culprit, you can put in a global ipfw rule that will limit the connect speed for the entire server and/or each IP on the server. The commands to limit the overall outbound connect speed are: /sbin/ipfw pipe 1 config bw 40Mbit/s /sbin/ipfw add 1 pipe 1 ip from me to any The commands to limit the individual outbound connect speed are: /sbin/ipfw pipe 2 config bw 12Mbit/s mask src-ip 0xffffffff /sbin/ipfw add 2 pipe 2 ip from me to any
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information