Page 1 of 1

what first ?

Posted: Wed May 31, 2006 10:15 pm
by Lukasz
I make my first bendwith menagement :
My quastion is, first I must mark all trafic (www, ftp, p2p, and so on) and then I must make simple queues, for user ?
Thank's for any help .

Posted: Wed May 31, 2006 10:25 pm
by maximan
mmm i guess that you not read the manual.
mark traffic then queue tree

Maximiliano

Posted: Wed May 31, 2006 10:30 pm
by Lukasz
no, Max... I read allready manulal, but when I read it, then I have more mix in my hed ....;)
thanks for help

Posted: Wed May 31, 2006 10:50 pm
by Lukasz
I have DSL 4/512
must I limit WAN interface to this 4M/512 ?

Posted: Wed May 31, 2006 11:25 pm
by Lukasz
second quastion
what's wrong ?

ip firewall mangle add src-address=192.168.0.4/16 src-port=20-21 mark-connection=ftp-con protocol=tcp action=passthrough

this example is from manulal !!

Posted: Thu Jun 01, 2006 12:14 pm
by zaherhamiyah
:idea: first we have to know what are the goals u intend to reach.
for example i have the following conf:
0 chain=forward p2p=all-p2p src-address-list=not_me action=mark-connection new-connection-mark=p2p-con passthrough=yes

1 chain=forward connection-mark=!p2p-con src-address-list=not_me action=mark-connection new-connection-mark=users-con
passthrough=yes

3 chain=forward connection-mark=p2p-con action=mark-packet new-packet-mark=p2p-packet passthrough=yes

4 chain=forward connection-mark=users-con action=mark-packet new-packet-mark=users-packet passthrough=yes

i marked my users' connections to p2p and other(http,ftp,pop3,etc...)
then i used these rules to prevent users from using p2p programs and let the others.
Note:not_me=192.168.0.10-192.168.0.254 and it is found in the address list coz i wanted to exlude my self from the rules.i like to use p2p a lot :D
I then applied the following simple queue to my client
84 name="test" target-addresses=192.168.0.4/32 dst-address=0.0.0.0/0 interface=all parent=none direction=bot>
priority=8 queue=default-small/default-small limit-at=0/0 max-limit=24000/100000 total-queue=default-small

but u have to note that i didn't use traffic marking at all with simple queue rules here.
I hope this will help.
Nobody is perfect.

Posted: Mon Jun 05, 2006 2:29 am
by samsoft08
Zaher can i get your msn or yahoo address
i'm sam from iraq and i have to talk with you
samsoft08@yahoo.com