ipfw dynamic pipes
Link
link at ngc.net.ua
Wed Nov 25 20:44:51 UTC 2009
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
More information about the freebsd-isp
mailing list