Date: Tue, 06 Jan 2004 17:01:11 +0800 From: Ganbold <ganbold@micom.mng.net> To: freebsd-ipfw@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: dummynet question Message-ID: <6.0.1.1.2.20040106165754.02a5b918@202.179.0.80>
next in thread | raw e-mail | index | archive | help
Hi,
I'm using FreeBSD 5.2-current machine for firewall. It is configured as a
bridged ipfw2 firewall.
Also this machine works a a traffic shaper using ip dummynet features.
I'm trying to limit bandwidth for some particular application, for example
eMule p2p application.
I'm doing it in the following way:
# eMule
${fwcmd} pipe 59 config bw 256kbit/s
${fwcmd} pipe 60 config bw 256kbit/s
${fwcmd} add 80 pipe 59 ip from 202.179.x.x/19 to any
2323,4242,4243,4661-4672,7700-7800 in via fxp1
${fwcmd} add 81 pipe 60 ip from any to 202.179.x.x/19
2323,4242,4243,4661-4672,7700-7800 in via fxp0
Am I doing right?
tia,
Ganbold
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.2.20040106165754.02a5b918>
