Date: Thu, 22 Jan 2004 12:19:17 +0800 From: Ganbold <ganbold@micom.mng.net> To: freebsd-ipfw@freebsd.org Cc: rizzo@icir.org Subject: Bandwidth limiting for eMule ports Message-ID: <6.0.1.1.2.20040122120552.0293bd20@202.179.0.80>
next in thread | raw e-mail | index | archive | help
Hi,
I'm still having trouble limiting bandwidth for emule ports using dummynet
features.
I'm using FreeBSD 5.2-current machine for firewall. It has 2 Intel pro 100
cards and it is configured as a bridge.
I'm doing bandwidth limiting in the following way:
# eMule
${fwcmd} pipe 59 config bw 256kbit/s
${fwcmd} pipe 60 config bw 256kbit/s
${fwcmd} pipe 61 config bw 128kbit/s
${fwcmd} add 80 pipe 59 ip from 202.179.x.x/19 to any
2323,4242,4243,4661-4672,7700-7800
${fwcmd} add 81 pipe 60 ip from any 2323,4242,4243,4661-4672,7700-7800 to
202.179.x.x/19
${fwcmd} add 82 pipe 61 ip from any to 202.179.x.x/19
2323,4242,4243,4661-4672,7700-7800
Am I doing right? For what NIC should I implement filtering, outside or
inside interface?
When I see MRTG graphs for ipfw it still shows bandwidth more than it
supposed to:(
I really hope somebody in this list point me to the right direction.
thanks in advance,
Ganbold
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.2.20040122120552.0293bd20>
