Traffic shaping part 2
- From: Jax <cybercorecentre@xxxxxxxxx>
- Date: Sun, 25 Jun 2006 07:55:56 +0200
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
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Traffic shaping part 2
- From: Stefan Bethke
- Re: Traffic shaping part 2
- Prev by Date: RE: Multiple routes to the same destination
- Next by Date: Re: Traffic shaping part 2
- Previous by thread: Multiple routes to the same destination
- Next by thread: Re: Traffic shaping part 2
- Index(es):
Relevant Pages
|
|