To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
or, via email, send a message with subject or body 'help' to
freebsd-i...@freebsd.org
You can reach the person managing the list at
freebsd-...@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-isp digest..."
Today's Topics:
1. ipfw dynamic pipes (Link)
----------------------------------------------------------------------
Message: 1
Date: Tue, 24 Nov 2009 09:19:31 +0200
From: Link <li...@ngc.net.ua>
Subject: ipfw dynamic pipes
To: "freeb...@freebsd.org" <freeb...@freebsd.org>
Message-ID: <4B0B8903...@ngc.net.ua>
Content-Type: text/plain; charset=UTF-8; format=flowed
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
------------------------------
End of freebsd-isp Digest, Vol 312, Issue 2
*******************************************