A pcc rule sequence usually is :
add chain=prerouting dst-address-type=!local in-interface=ether1 per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=WAN1_conn
add chain=prerouting connection-mark=WAN1_conn in-interface=ether1 action=mark-routing new-routing-mark=to_WAN1
add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_WAN1
From what I understand, first line marks the connection with “WAN1_conn”, the second takes the packet marked with “WAN1_conn” and applies the routing mark “to_WAN1”, the third routes the packet with routing mark “to_WAN1” to the desired gateway.
Why don’t apply the routing mark directly on the first rule avoiding the second one ???