Pampour

Connection Simulation with ipfw

Oct 27th, 2013
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. # IP Firewall and Traffic Shaper control program
  2. man ipfw                        # ipfw manual
  3. sudo ipfw add pipe 1 all from any to any        # define new pipe for our traffic to go through
  4. sudo ipfw pipe 1 config bw 200Kbit/s delay 500ms    # To limit all traffic to 200Kbit/s with a 500ms delay
  5. sudo ipfw flush                     # delete all rules
Advertisement
Add Comment
Please, Sign In to add comment