Created two policies in IPSEC configuration. Same 'local' network and two different 'remote' networks. Establishes tunnel just fine for both policies.
However the only route that is being built is the route for the first policy.
That policy, I can pass traffic from the remote network though the IPSEC tunnel to the device and back though the IPSEC tunnel. If I try from the remote network in the second policy, the traffic is received from the IPSEC tunnel, and forwarded out though the default gateway instead of back though the IPSEC tunnel. I have pcaps running on the other side of the devices WAN/default gateway, and the remote side of the IPSEC tunnel to confirm this behavior.
Is this a configuration issue or a bug in the script setting up the routes after initializing the IPSEC policy?