Route distance on IPSec

Hi, how can I set the route distance on the static and/or VPN route? I have the central IPSec VPN hub with 10/16 and 10/24 on the green that vanishes after connect.