Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 04:04:06 +0300
From:      "Mihail Balikov" <misho@interbgc.com>
To:        <freebsd-ipfw@FreeBSD.ORG>
Subject:   dummynet and ip.fw.one_pass
Message-ID:  <003401c1e419$70e73340$eee209d9@interbgc.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi,

is it correct to use such configuration : 

sysctl -w net.inet.ip.fw.one_pass=0

  # process only outgoing packets
ipfw add 10 allow all from any to any in
  # shape whole network to 1Mb/s
ipfw add 15 pipe 15 all from any to 1.2.3.0/24
ipfw pipe 15 config bw 1Mbit/s
  # shape every host to 64Kb/s
ipfw add 20 pipe 20 all from any to 1.2.3.0/24
ipfw pipe 20 config mask dst-ip 0x000000ff bw 64Kbit/s
  # transmit packet
ipfw add 30 allow all from any to any

regards,
Mihail


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?003401c1e419$70e73340$eee209d9>