ipfw rules for testing on localhost


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ipfw pipe 1 config bw 128kbit/s
  2. ipfw pipe 2 config bw 512kbit/s
  3. ipfw add pipe 2 src-port 80 src-ip 127.0.0.1
  4. ipfw add pipe 1 dst-port 80 dst-ip 127.0.0.1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.