Hi!

 

I have a VPN, this one is using ipsec-tools and racoon in tunnel mode. It works fine, Now I am trying to find the way to control a package's route

 in order to decide if that package goes for the vpn or by  a gateway previously it configured with iproute2.

I tried with iptables specifically with PREROUTING, MARK in table mangle but the package allways go for VPN.

 

any idea?