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 !