This really is simpler than you're imagining...
There are no "route logs" to check to see which routing "rule" was chosen to handle a specific packet.
It's helpful to think of everything in the Astaro in terms of selectors. In any particular ruleset, the rules are processed in order as they appear. When an item is selected for a particular rule, no more rules of that type are processed.
Cheers - Bob
Good catch, John. I just did a bit of studying, and it looks like ordering static routes isn't the standard approach unless one is doing OSPF; take a look at 7.4 STATIC ROUTING.
Was this just a learning/philosophical question, or is there an actual issue driving it?
Policy routes come first and processed from top to bottom. First match ends it. Static routes are not rules, example when you have two static route to fit, example destination as 192.168.10.0/24 to gateway 192.168.5.1 and 192.168.10.10/32 to gateway 192.168.1.2 , and you want to transfer to 192.168.10.10, then 192.168.1.2 gateway is used, when you want to transfer to 192.168.10.1 then 192.168.5.1 gateway was used. Always used route entry that fits more accurate............But me interest instead what is processed first - routing rules or multipath rules and both in case of session and return packets point of view.
Regards.
Hi, Ivar, and welcome to the UTM Community!
"Always used route entry that fits more accurate" - I know that's right in Cisco, but are you certain that that's the case with the UTM? I think I've seen that violated, for example, with automatic routes taking precedence over manually-created ones.
Cheers - Bob
Its standard. What are "automatic routes"? Default there must be only direct routes to directly connected subnets and default gateways. Of course direct routes take precedence, as they fit more precisely.....sorry, not precisely but they dont have gateway, just link to interface.
Regards.
I know you would be right with a pure router, but WebAdmin is a GUI that manipulates databases of objects and settings. A single change there can cause the Configuration Daemon to rewrite hundreds of lines of the code used to run the UTM. For example, without electing to bind an IPsec Connection to a particular Interface, you cannot manually create a route that takes precedence over the routes automatically created by the Configuration Daemon.
Now, if you've had someone from Sophos tell you that a route for a /30 subnet will always take precedence over one for a /24 subnet, I'll need to rethink my understanding.
Cheers - Bob
This sounds interesting. Im new with UTM VPN. I was worked with OpenVPN server, CheckPoint and Kerio VPNs. They just put routes for other side of tunnel, with gateway as VPN subnet, tunnel other side endpoint. They are just ordinary routing table entries and firewall dont break any routing logic. If UTM makes some unusual logic, then its interesting. But can I at all set VPN interface as multipath choice and make multipath static rule to this VPN tunnel?
Regards.