Hi, I have two ovpn client interfaces, first going thru default route this mean WAN1, but second should go thru WAN2, I don’t know how to configure prerouting and output for routing mark, when I configure like this:
;;; openvpn not ready
chain=prerouting action=mark-routing new-routing-mark=ovpn
passthrough=no src-address=192.168.12.2 in-interface=openvpn-dsl
log=no log-prefix=""
14 chain=output action=mark-routing new-routing-mark=ovpn
passthrough=no src-address=192.168.12.2 log=no log-prefix=""
and then I setting ip route for this mark with WAN2 gateway, but this not work. 192.168.12.2 is assigned for this second ovpn client interface by the server.
After enable this connection I see on server that connection originating from WAN1.