Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2009 09:19:31 +0200
From:      Link <link@ngc.net.ua>
To:        "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org>
Subject:   ipfw dynamic pipes
Message-ID:  <4B0B8903.9000207@ngc.net.ua>

next in thread | raw e-mail | index | archive | help
hello gentlemen,

does anybody know how to make dynamic pipes for 2 directions - in/out ?

usually i do:
ipfw pipe 1 config bw 1Mbit/s mask src-ip 0xffffffff
ipfw pipe 2 config bw 1Mbit/s mask dst-ip 0xffffffff
then
ipfw add 10 pipe 1 all from $mynet to any via $if out
ipfw add 11 pipe 2 all from any to $mynet via $if in

in this case each ip get two 1Mbit/s pipes - one in and one out

But now i need to create one pipe for in and out. E.g each ip should use 
same pipe for in/out.
But i`m stuck how to do this dynamic way.

---
Denis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B0B8903.9000207>