Community discussions

MikroTik App
 
sojicmk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Fri May 04, 2007 4:32 pm

Connection mark (none)

Tue Jul 24, 2007 12:05 pm

/ ip firewall mangle 
add chain=prerouting p2p=all-p2p dst-address-list=!Lokalni action=mark-connection \
    new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no 
add chain=prerouting connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p \
    passthrough=no comment="" disabled=no 
add chain=prerouting dst-address-list=!Lokalni action=mark-connection \
    new-connection-mark=internet_con passthrough=yes comment="" disabled=no 
add chain=prerouting connection-mark=internet_con action=mark-packet \
    new-packet-mark=internet passthrough=no comment="" disabled=no 
in / ip firewall connections list I see "connection_mark = NONE".

Image

What kind of traffic is this, and why it is not marked?
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Re: Connection mark (none)

Tue Jul 24, 2007 1:29 pm

Ispravio sam ti!
/ ip firewall mangle 
add chain=prerouting p2p=all-p2p dst-address-list=!Lokalni action=mark-connection \
    new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no 
add chain=prerouting connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p \
    passthrough=no comment="" disabled=no 
add chain=prerouting p2p=!all-p2p dst-address-list=!Lokalni action=mark-connection \
    new-connection-mark=internet_con passthrough=yes comment="" disabled=no 
add chain=prerouting connection-mark=internet_con action=mark-packet \
    new-packet-mark=internet passthrough=no comment="" disabled=no 
Ne mozes dodati dva ista pravila. Tacnije mozes... ali ce samo jedano da radi!

poz
 
sojicmk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Fri May 04, 2007 4:32 pm

Re: Connection mark (none)

Tue Jul 24, 2007 1:39 pm

Skontao,

Znaci u markiranje internet konekcije trebao sam da "izbacim" p2p?

P.S. Kako si znao da sam "nas"?
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Re: Connection mark (none)

Tue Jul 24, 2007 1:55 pm

Da da...

P.S.
odao si se :)

Ime address list-e "LOKALNI" :)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Connection mark (none)

Tue Jul 24, 2007 2:41 pm

guys, try english please :) most people can't understand you
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Re: Connection mark (none)

Tue Jul 24, 2007 2:50 pm

PRICAJ SRPSKI DA TE CEO SVET RAZUME :)

Problem was in second rule!
first rule mark p2p conn, second rule mark all conn!
that is the problem!

how to fix problem,
Just add in second rule p2p=!all-p2p (make second rule to don't mark p2p conn)
 
sojicmk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Fri May 04, 2007 4:32 pm

Re: Connection mark (none)

Tue Jul 24, 2007 3:58 pm

Is it OK?

First to mark all p2p then internet connections or, I have to mark internet connections then p2p?

What will be in first what in second case?
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Re: Connection mark (none)

Tue Jul 24, 2007 5:54 pm

Moze i tako :)

Nego da ne razmisljas... Sutra slucajno premestis mesta... i opet... :/

Who is online

Users browsing this forum: mada3k, yhfung and 31 guests