dummynet question
Ganbold
ganbold at micom.mng.net
Tue Jan 6 01:39:53 PST 2004
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
More information about the freebsd-hackers
mailing list