Created
April 20, 2015 14:52
-
-
Save dmitry-vsl/6e8c667dd1a4d70970f4 to your computer and use it in GitHub Desktop.
ipfw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Создаем pipe номер 1 (можно любой номер указать) с ограничением 10Kb/s | |
sudo ipfw pipe 1 config bw 10Kbytes/s | |
Создаем правило номер 10 (любой номер можно указать), которое вешает пайп номер 1 на исходящий канал от моей к машине к virtual box | |
sudo ipfw 10 add pipe 1 ip from me to 192.168.15.15 out | |
Удаляем правило номер 10 | |
sudo ipfw delete 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment