Supa
Patron
- Joined
- Jan 10, 2014
- Messages
- 204
My current steps: (still troubleshooting)
http://info.iet.unipi.it/~luigi/dummynet/
http://info.iet.unipi.it/~luigi/ip_dummynet/original.html
http://cs.baylor.edu/~donahoo/tools/dummy/tutorial.htm
- Enable dummynet and ipfw the FreeBSD traffic shaping module:
- edit /boot/loader.conf and add
- ipfw_load="YES"
- dummynet_load="YES"
run kldload dummynet to load the modules or just restart the server.
- Set up a pipe that restricts traffic
- ipfw add 1 allow tcp from any to me 22 keep-state
- ipfw pipe 1 config bw 20Mbit/s
- ipfw add 1000 pipe 1 ip from 192.168.1.226 to any
- Limit upload through the pipe (through the PMS jail)
- systat -ifstat 1 is used to monitor bandwidth
- You can see your pipes with ipfw pipe show (just as you see the regular rules with ipfw show.
- ipfw pipe flush will destroy all the pipes generated.
http://info.iet.unipi.it/~luigi/dummynet/
http://info.iet.unipi.it/~luigi/ip_dummynet/original.html
http://cs.baylor.edu/~donahoo/tools/dummy/tutorial.htm
Last edited: