1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ipfw traffic shaping

Discussion in 'Firewalls' started by alexus, Oct 9, 2009.

  1. alexus

    alexus New Member

    Messages:
    25
    Likes Received:
    0
    I have following rules:

    Code:
    pipe 1 config bw 1Mbit/s
    add 8380 pipe 1 tcp from any to any src-port www
    add 8380 pipe 1 tcp from any to any dst-port www
    
    yet my MRTG show's way more traffic then just 1Mbit/s

    can someone help me?
     
  2. kenbukan

    kenbukan New Member

    Messages:
    6
    Likes Received:
    0
    Hello i have the same problems try

    Code:
    pipe 1 config bw 10Kbit/s
    
    i don't know where is the bug.
     
  3. alexus

    alexus New Member

    Messages:
    25
    Likes Received:
    0
    I don't understand, are you asking me to try it as it as a solution for my issue? or as you showing me what you doing and it's similar to mine?
     
  4. kenbukan

    kenbukan New Member

    Messages:
    6
    Likes Received:
    0
    Hello alexus,

    i use two Gbit ethernet cards as bridge and to shape the traffic of this, if i use
    Code:
    ipfw pipe 1 config bw 10Mbit/s
    the traffic is more than 10Mbit/s.

    If i use
    Code:
    ipfw pipe 1 config bw 100Kbit/s
    the traffic is shaping of 10Mbit/s

    But the bridge is break after 2 minutes.
     
  5. alexus

    alexus New Member

    Messages:
    25
    Likes Received:
    0
    do ipfw pipe show
     
  6. Pushrod

    Pushrod New Member

    Messages:
    280
    Likes Received:
    0
    Use different pipes for in and out.
     
  7. alexus

    alexus New Member

    Messages:
    25
    Likes Received:
    0
    isn't when i don't specify it goes both ways?