Hello
I’m trying to setup policy for all packet destined for ftp on server 1.1.1.99 to go on wan2 interface (I have a dual wan setup and ether3-local-master is default gw for LAN)
4 chain=prerouting action=mark-connection new-connection-mark=ftpbg passthrough=no dst-address=1.1.1.99 in-interface=ether3-local-master
connection-mark=ftpbg
5 chain=prerouting action=mark-routing new-routing-mark=to_ftpbg passthrough=no connection-mark=ftpbg
But when I check stats:
4 prerouting mark-connection 9569527 6623
5 prerouting mark-routing 0 0
It seams that packets are not checked for mark-routing action while in the same time they are checked with mark-connection.
Am I doing something wrong here?