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
  4. ipfw add pipe 1 dst-port 80 dst-ip

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.