Community discussions

MikroTik App
 
Lukasz
newbie
Topic Author
Posts: 32
Joined: Tue May 16, 2006 4:41 pm
Location: Silesia, Poland

what first ?

Wed May 31, 2006 10:15 pm

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 .
 
User avatar
maximan
Trainer
Trainer
Posts: 543
Joined: Sat May 29, 2004 12:10 am
Location: Rio Cuarto, Argentina
Contact:

Wed May 31, 2006 10:25 pm

mmm i guess that you not read the manual.
mark traffic then queue tree

Maximiliano
 
Lukasz
newbie
Topic Author
Posts: 32
Joined: Tue May 16, 2006 4:41 pm
Location: Silesia, Poland

Wed May 31, 2006 10:30 pm

no, Max... I read allready manulal, but when I read it, then I have more mix in my hed ....;)
thanks for help
 
Lukasz
newbie
Topic Author
Posts: 32
Joined: Tue May 16, 2006 4:41 pm
Location: Silesia, Poland

Wed May 31, 2006 10:50 pm

I have DSL 4/512
must I limit WAN interface to this 4M/512 ?
 
Lukasz
newbie
Topic Author
Posts: 32
Joined: Tue May 16, 2006 4:41 pm
Location: Silesia, Poland

Wed May 31, 2006 11:25 pm

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 !!
 
zaherhamiyah
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Thu Mar 23, 2006 12:43 am

Thu Jun 01, 2006 12:14 pm

: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.
 
User avatar
samsoft08
Long time Member
Long time Member
Posts: 613
Joined: Sat Nov 26, 2005 10:52 pm

Mon Jun 05, 2006 2:29 am

Zaher can i get your msn or yahoo address
i'm sam from iraq and i have to talk with you
samsoft08@yahoo.com