I want to cut the p2p transfer for both lan na wlan for 256/32 kbp (togehther)
Currenctly I made limit for each connection separatly.
Do you know how to do that without making a bridge ?
The same problem I have with prioritization and guarantee traffic.
I mark the connections/flow on each interface separatly.
Go to queue type and add pcq name it download , give 256000 select dst-address and dst-port
also pcq name it upload, give 32000 select src-address and src-port
Go ti queue tree add queue, name it download Flow all-p2p global-in
also do that for upload global-out
Like this, you have marked all-p2p to go through queue trees which has been limited to 256/32
HTTP mark on wlan and lan interfaces:
in-interface=wlan1 dst-address=:80 protocol=tcp action=passthrough
mark-connection=http-connections
in-interface=lan dst-address=:80 protocol=tcp action=passthrough
mark-connection=http-connections
POP3 mark on wlan and lan interfaces:
in-interface=wlan1 dst-address=:110 protocol=tcp action=passthrough
mark-connection=pop3-connections
in-interface=lan dst-address=:110 protocol=tcp action=passthrough
mark-connection=pop3-connections
Q : “Whats the diffrent between action=passthrough and accept in managle rule?”
A: Well, when you do Accept, if rule is matched it will start working, if you do Passthrough it will go to next rule you have added in mangle.
Try with Accept and I am pretty sure that each rule with match pcq…
Note that when you do global-in and global-out in queue tree ( for mangle rules you have added) simple queue will not work!!!
Cheers…
P.S. I am not 100% sure that I am advising you well. Currently I am very busy, so no time to try it myself…