Community discussions

MikroTik App
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

smtp

Thu Mar 09, 2006 1:54 am

hi
i forwared all my clients smtp traffic to an smtp relay near my mikrotik server on following ip 10.20.30.3 and all is just fine all is working exept one more thing i need to do
i need to disable shaping or give hight speed on the marked pakets smtp
it means if my customer is 64 kbps upload i do not want him to wait to send to the relay server
i tried in simple queue but did not work anyone did it before?
 
User avatar
jager
Trainer
Trainer
Posts: 295
Joined: Mon Oct 31, 2005 2:44 am
Location: Germany
Contact:

Thu Mar 09, 2006 1:59 am

Did you mangled the packets in prerouting or in forward chain? Prerouting should do the job OK :)
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

smtp

Thu Mar 09, 2006 2:10 am

yes i mangled packets prerouting and marked as smtp
then a static route to 10.20.30.3 with packet mark smtp
then dstnat all smtp traffic to 10.20.30.3 dstport 25
than masquerade all smtp trafic srcnat
the smtp is working well i just need to give higher speed on smtp when pppoe client is sending email
i tried with simple queue with packet mark smtp it did not worked
it is not even counting packets
thank u for ur help
 
User avatar
jager
Trainer
Trainer
Posts: 295
Joined: Mon Oct 31, 2005 2:44 am
Location: Germany
Contact:

Thu Mar 09, 2006 3:01 am

Wow ..... well, please, send your config. Some setting is obviously wrong
 
fivenetwork
newbie
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

Thu Mar 09, 2006 4:37 am

Cant be done. As your PPPoE interface created for a client is in ITSELF regulated by the profile limits. As the interface itself is say 64/64 no way can you increase bandwidth to particluar sites.

one way out will be to invert the limits. ie Have a profile limit of say 1024/1024 and then have trafic for all non LOCAL sites limited to 64/64.

If this can be worked out is something I have to think of. But my gut feel is that this is the way.
 
User avatar
jager
Trainer
Trainer
Posts: 295
Joined: Mon Oct 31, 2005 2:44 am
Location: Germany
Contact:

Thu Mar 09, 2006 11:02 am

It can be done. Just need to find out how. IMHO, queue tree will be the asnwer.
Here is why I thik this: I have PPPoE users with dynamic simple queues for every pppoe interface. If I mangle for example p2p packets, and create a new simple queue with p2p mark, set the limit to 1Mbit, this will be the limiti to ALL customers. If there is available bandwidth, the user will get much more than his 64k defined in his simple queue.
After all, your suggestion also sounds OK.
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

Fri Mar 24, 2006 2:03 am

hi guys i tryed the simple queue with marked packets smtp it is even not counting bits