Ordering of dummynet and natd.
Lewis Thompson
lewiz at fajita.org
Tue Mar 30 10:00:08 PST 2004
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:purple at lewiz.net | jabber:lewiz at jabber.org | url:www.lewiz.org |-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040330/0b2bf1e7/attachment.bin
More information about the freebsd-questions
mailing list