Feature request: add routes via file import

Hi guys,

It would be very useful to be able to import a file having each destination/mask on a line, to complement the Add Route dialog in the Connections - Networking - Routing.

I think that in most cases the IP Version, Gateway and Metric will stay the same and are anyways easy to be edited later. But adding a dozen destinations and masks manually is an error-prone and tedious task.

Thank you.

Hi cgr,

Thanks for the feedback - much appreciated.

One option you could consider to bulk add routes is copy-pasting the routes into the advanced commands text field for the connection. The syntax is “route <gateway (optional)>” for IPv4, and “route-ipv6 / <gateway (optional)>” for IPv6. For example:

route 192.168.1.0 255.255.255.0
route 192.168.2.0 255.255.255.0
route 10.0.1.1 255.255.255.255
route-ipv6 2001::1/64

For more information please see:
https://www.sparklabs.com/support/kb/article/advanced-configuration-commands/#specifying-advanced-configuration-commands

Cheers,
James