Community discussions

MikroTik App
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

mangle incoming packet issue (QoS)

Sun Nov 11, 2012 12:15 pm

Hi there,

I have done my queue tree + mangle and when i run it all seems to work except incoming packets (prerouting) have been marked as outgoing parket hence going into the wrong queue tree.

After investigation, under firewall connections, I found something strange:
PC A - local 192.168.0.0 address
PC B - remote 211.72.x.x

When PC A connect to PC B via FTP, the source address is PC A and destination is PC B - that seems fine. But when I start transfering from PC B to PC A (via that FTP connection), the source is still PC A and destination is still PC B -> hence the mangle is marking this as outgoing instead of incoming.

If I am downloading, the destination should be the local address and when uploading the source should be the local address, isn't it? What I am seeing isn't exactly that, then how do I determine which is incoming and which is outgoing?

I think I must be missing something here...
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: mangle incoming packet issue (QoS)

Tue Nov 13, 2012 8:45 am

could anyone help? i think this is really a newbie question :)
 
deejayq
Member Candidate
Member Candidate
Posts: 195
Joined: Wed Feb 23, 2011 8:33 am

Re: mangle incoming packet issue (QoS)

Tue Nov 13, 2012 3:44 pm

you should specify the interface the traffic is coming through

ex. internet---wan-router-lan---local area network

traffic coming from internet to local area network is seen by the router as in via wan interface
traffic coming from local area network to internet is seen by the router as in via lan interface
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: mangle incoming packet issue (QoS)

Wed Nov 14, 2012 9:51 am

dear deejayq, you are the man! yes that fixed my problem!!