Project

General

Profile

Actions

Bug #8559

closed

Dynamic Gateway (from e.g. OVPN) only able to disable after edit

Added by Jens Groh almost 6 years ago. Updated almost 6 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
06/08/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.3_1
Affected Architecture:
amd64

Description

Steps to reproduce:

1) create openvpn server
2) assign OPT interface to ovpns1
3) edit ovpns1 and make it active
(typical steps needed for policy based routing etc. over OVPN)
4) head to System > Routing > Gateways
5) note the newly created dynamic OVPN Gateway(s) [depending on new OVPN GW setting] - one cannot disable or delete it
6) edit it - save without making changes
7) note the disable and delete buttons popping up behind OVPN GW entry/entries

at this point, the delete button does next to nothing but resets the GW in the state after 3) with missing disable/delete buttons and deletes the "dynamic" text that pops up as gateway information after editing. Only disable is doing its actual job and disabling the entry. GW gets correctly deleted after "disabling" the interface it is bound to.

Perhaps delete shouldn't popup ever and disable should be there always - I don't know what the actual intention is but that little tidbit got me and a customer a bit of track after stumbling over it. I assume that it is a "new" behavior that came with the OVPN GW IP family select possibility as we had to disable the v6 GW that always popped up manually and so were used to always go to routing after creating a new OVPNs interface. :)

Greets,
Jens

Actions

Also available in: Atom PDF