IPsec VTI phase 2 traffic selectors default to address when defined as a network
The IPSec P2 edit page in the GUI (/vpn_ipsec_phase2.php) defaults the local and remote network type value to 'Address' when opening a VTI tunnel.
It does so even if the existing configured Network there is larger than a single address.
If making an unrelated change on that page, or saving without making any changes, the subnet value is removed from the configured P2 which is unexpected.
It shouldn't actually bring down a tunnel because the P2 will usually match 0.0.0.0/0 and the created interface is created as a /30. However is some uncommon is configured and required there it will do. In that situation you have to remember to set the type to Network whenever saving that page.
Changing the existing TS from a network to an address without the user selectign anything should not happen.
Updated by Marcos M about 2 years ago
- File ipsec_vti_nettype.patch added
Updated by Viktor Gurov over 1 year ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Marcos M