reorx posteets tagged network

4 years ago
  1. # MacOS is able to limit bandwith form specific protocol or source-ip on the fly. Creating an bandwidth limtation rule won’t break your download
  2. #Build a pipe with a limited bandwidth (example 1Mbits/s)
  3. sudo ipfw pipe 1 config bw 1Mbit/s
  4. #Assign a rule to redirect the protocol on that pipe (for example http from
  5. sudo ipfw add 1 pipe 1 proto tcp src-port 80 src-ip
  6. #You can show your pipe like that
  7. sudo ipfw pipe show
  8. #Delete the created pipe with that both comands
  9. # delete the redirection rule :
  10. sudo ipfw del 1
  11. # delete the pipe :
  12. sudo ipfw pipe 1 delete

“network” related tags

reorx’s tags