Hi,

Can anybody help me out with ipfw rules to do dummynet shaping before
packets hit natd for translation.

  192.168.0.4 should be able to upload at just 100KB/s.  The default
gateway and natd is done on 192.168.0.1 where I have the following
rules:

pipe 1 ip from 192.168.0.4 to any via xl1
divert 8668 ip from any to any via xl1
allow ip from any to any

pipe 1 just limits the bandwidth to 10KB/s.  pipe 1 is before divert
because if I put it after then natd has already translated the address
so I cannot shape the bandwidth as I want.

  Am I wrong in thinking I can use pipes like this?

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to