up routing by service ?

Hi,
I’m on ROS 6.39.2 and I’m trying to route all the traffic destined to my cloud backup storage provider through a specific wan (when available). To be exact I have a limited data on a LTE connection which is way faster than my ADSL main connection. The provider is hubic.com
The only way I’ve found is to discover all the provider IPs and route based on those IPs. The routes are automatically disabled when I turn off the LTE gateway, which is great.
I was hoping to be able to route by destination like *.hubic.com but it seems it’s nod doable. Maybe a script that runs a dns lookup and adds the routing roules, but I should know the dns names first… Also I’d like to upload from multiple PCs so marking/routing tcp/443 connections for a single IP is not good :frowning:

Any suggestion on how to solve this ?

thanks

Giuliano

Yes you should know the all the dns names or hosts the site uses to connect and upload first. you can not use *.hubic.com. Then with a script resolve dns names to ip addresses and add them to an address list for later use.

Also I’d like to upload from multiple PCs so marking/routing tcp/443 connections for a single IP is not good > :frowning:

Idk what u exactly mean but you can mark routing from a source address list and a destination address list without problem. or add your resolved ip addresses to the routing table through the LTE gateway