Bandwidth limiting for eMule ports
Ganbold
ganbold at micom.mng.net
Wed Jan 21 20:15:23 PST 2004
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
More information about the freebsd-ipfw
mailing list