[ previous ] [ next ] [ threads ]
 
 From:  Adam McNeill <adam dot mcneill at gmail dot com>
 To:  K <sfpdswat at yahoo dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Priotitizing packets
 Date:  Mon, 4 Oct 2004 12:01:55 -0700
I have tried your suggestion with balancing LAN usage, still not
working very well.  Ping times are consistantly high now, rather than
anywhere near low (using magic shaper and P2P low priority along with
divide LAN traffic).


On Mon, 4 Oct 2004 11:38:24 -0700 (PDT), K <sfpdswat at yahoo dot com> wrote:
> Hi,
> 
> I found out how to reply.
> 
> After you sent a message out, and when someone
> replies, just hit "Reply All". That should "cc" to
> m0n0wall at lists dot m0n0 dot ch as well.
> 
> --- Adam McNeill <adam dot mcneill at gmail dot com> wrote:
> 
> > Thanks for your response.  (and I'm not really
> 
> 
> > entirely certain how to
> > reply to the list either, I'm new to it myself).
> >
> > What I wanted to do was have all traffic supercede
> > traffic from 1 LAN
> > IP.  Hopefully creating a uneffected network for the
> > most part, but
> > letting the BT's run crazy when theres no other
> > usage.
> >
> >
> > On Sun, 3 Oct 2004 02:36:52 -0700 (PDT), K
> > <sfpdswat at yahoo dot com> wrote:
> > > Hi,
> > >
> > > Before telling you how to set it right, ... may
> > you
> > > tell me how to "reply" on the mailing list? I
> > think
> > > right now I'm only replying to your GMail account.
> > > Thanks.
> > >
> > > Humm... I was able to set BT into low priority
> > while
> > > keeping BT alive.
> > >
> > > If you just want to lower P2P software priority,
> > try
> > > the default traffic shaper setting for P2P.
> > m0n0wall
> > > 1.1 or 1.2b1 has such default setting (under
> > Firewall
> > > --> Traffic shaper --> Magic Shaper Wizard).
> > >
> > > What I did:
> > > Hardware: an embedded PC similar to net4801 (same
> > CPU)
> > >
> > > Setting:
> > > ========
> > > magic shaper with "Share bandwidth evenly on LAN"
> > and
> > > "Set P2P traffic to lowest priority"
> > >
> > > Under DHCP I created static MAC--> IP address
> > mapping
> > > for hosts that will use P2P software.
> > >
> > > Under Firewall --> Nat    I created port
> > forwarding
> > > for P2P software with referencing to the static
> > IPs. I
> > > also checked the box "Auto-add a firewall rule to
> > > permit traffic through this NAT rule"
> > >
> > > (at the end of this stage, you should see a port
> > > forwarding for e.g 192.168.1.121 TCP/UDP 5001-5010
> > on
> > > Firewall-->NAT  , and also same setting on
> > > Firewall-->Rules on the WAN interface).
> > >
> > > Now re-adjusting traffic shaper rules to lower
> > > priorities of port-forwarded P2P software:
> > >
> > > On Firewall-->Traffic Shaper-->Rules, create two
> > new
> > > rules.
> > >
> > > Upload:
> > > -------
> > > Interface:WAN
> > > Queue: m_Hated Upload
> > > Protocol: *   (means any)
> > > Source:    192.168.1.121   Port 5001-5010
> > > Destination:  *    (means any)
> > > Direction: Out
> > >
> > > Download:
> > > -------
> > > Interface:WAN
> > > Queue: m_Hated Download
> > > Protocol: *   (means any)
> > > Source:    *
> > > Destination:  192.168.1.121   Port 5001-5010
> > > Direction: In
> > >
> > > And finally, click the Apply button on top of the
> > > Firewall-->Rules page to activate the new setting.
> > >
> > > With 3 hosts on the LAN using Bit Torrents, I get
> > > 30ms-80ms pings to game server in the same state.
> > It's
> > > not perfect but at least it's better than 300ms.
> > >
> > >
> > >
> > > --- Adam McNeill <adam dot mcneill at gmail dot com> wrote:
> > >
> > > > I'm having some difficutly (possible with
> > wrapping
> > > > my head aroudn the
> > > > traffic shaper).
> > > >
> > > > I do have it working, as it has an effect when I
> > > > enable it.
> > > >
> > > > I have played around with various
> > configurations,
> > > > and have it set to
> > > > limit priority based by using queues with higher
> > and
> > > > lower weights.
> > > > Basically, everything destin for or orginating
> > from
> > > > 1 IP I want to
> > > > have the lowest priority.
> > > >
> > > > Currently, when enabled, it slows BitTorrents
> > down
> > > > to an absolute
> > > > crawl, as soon as it's turned off, it speedes
> > right
> > > > back up.
> > > >
> > > > I currently have 4 Queues, 2 for download, 2 for
> > > > upload, 1 set higher,
> > > > 1 set lower.
> > > >
> > > > I then have 4 rules, 1 for incoming, annd 1 for
> > > > outgoing from the
> > > > source/dest IP, and one catch all for everything
> > > > else.
> > > >
> > > > What am I doing wrong?
> > > >
> > > > --
> > > > Adam McNeill
> > > > http://www.rainlab.net
> > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > > m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> > > > For additional commands, e-mail:
> > > > m0n0wall dash help at lists dot m0n0 dot ch
> > > >
> > > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail is new and improved - Check it out!
> > > http://promotions.yahoo.com/new_mail
> > >
> >
> >
> >
> > --
> > Adam McNeill
> > http://www.rainlab.net
> >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 



-- 
Adam McNeill
http://www.rainlab.net