Traffic shaping part 2
Jax
cybercorecentre at gmail.com
Sun Jun 25 05:58:55 UTC 2006
Hello Guys!
I decided between freebsd. Anyone can give me a real life example, full
ipfw traffic shaping ruleset or something like that. I written one
myself but I hardly can find even examples on the net so pls some1 send
me to private if it's possible.
I don't want to share bandwith among hosts, I only want to define 4-5
class of flow for example 1 for ssh, telnet etc. delay sensitive
traffic, 1 for heavy ftp and P2P traffic ( and this is another part when
i lacked, I haven't got any idea how could I manage the passive ftp
sessions or bittorrent traffic with ipfw).
In few words what I did:
ipfw pipe 1 config bw 50Kbit/s queue 30
ipfw pipe 6 config bw 300Kbit/s queue 40
....
$cmd 200 pipe 1 tcp from any to any 22 in via $LANINT keep-state
$cmd 30000 pipe 1 tcp from any to any 22,24,25,110,389,993,995 out via
$LANINT
$cmd 60000 pipe 6 ip from any to any out
...
And stuff like this. I know it's not the best, because i statically
attach 1 kind of traffic to a pipe, but this way file transfer don't
disturb down ssh traffic as far as i know, but as i told you i'm new in
this topic.
Any help appreciated!
Regards,
Jax
More information about the freebsd-net
mailing list