PCC when multiple LANs

I’m using succesfully the following rules for PCC dual-wan :

add chain=prerouting action=mark-connection new-connection-mark=WAN1_conn passthrough=yes connection-state=new protocol=tcp dst-address-type=!local in-interface=ether1 dst-port=!443 per-connection-classifier=both-addresses-and-ports:2/0  
add chain=prerouting action=mark-connection new-connection-mark=WAN2_conn passthrough=yes connection-state=new protocol=tcp dst-address-type=!local in-interface=ether1 dst-port=!443 per-connection-classifier=both-addresses-and-ports:2/1



add chain=prerouting action=mark-routing new-routing-mark=to_WAN1 passthrough=no connection-mark=WAN1_conn in-interface=ether1  
add chain=prerouting action=mark-routing new-routing-mark=to_WAN2 passthrough=no connection-mark=WAN2_conn in-interface=ether1

Assuming a single LAN on

in-interface=ether1

But what if I have more LANs on eth1, eth2, eth3 ecc. ???

Thank you !

in that case you can for each LAN make mangle rule or summary entire subnet in one.

Sent from my SM-G531F using Tapatalk

What do you mean with this ?

Or do it on interface lists and address lists.

Wysłane z mojego SM-J710F przy użyciu Tapatalka