we have a router with 3 ethernet interface, eth1, eth2, eth3.
Eth1 is the public interface connected on internet
eth2 and eth3 have some internet traffic of customer with public ip and other router.
Ther're also a lot of eoip tunnel and vpls tunnel over that we do pppoe-server. So we have a lot of dynamic pppoe interfaces.
We want to enable PCQ shaping, but i've some problem with queue tree/mangle.
I attach queue tree for upload traffic to eth1 and download traffic to global-out (because i've dynamic pppoe interface)
I do connection and packet marking in the forward chain, like this:
It's the right way ? Or i'm wrong in some place ?
Code: Select all
chain=forward action=mark-connection new-connection-mark=conn_1 passthrough=yes src-address-list=Consumer chain=forward action=mark-packet new-packet-mark=packet_1_DOWNLOAD passthrough=no in-interface=eth1 connection-mark=conn_1 chain=forward action=mark-packet new-packet-mark=packet_1_UPLOAD passthrough=no out-interface=eth1 connection-mark=conn_1