I know that "normal" network interfaces (wired, Wi-Fi, etc.) can be edited using the NetworkManager's command
nmtui. For example:
Having said from this menu you can select
Activate a connection and see the list of all your connections (including VPNs) and activate/deactiavate them:
The problem is that your VPN connections are not shown under "Edit a connection" so I do not understand how to Edit VPN connections using
nmtui. Use case: this could be very useful to delegate this kind of management to administrators on a non-graphical server without "brilliant skills" with the command line. That's why I suggest to use
nmcli or editing files manually instead, but maybe I'm over-complicating things.
At the moment I tried this version on CentOS:
NetworkManager --version 1.18.8-1.el7
And I've also tried this version on Ubuntu focal and Debian GNU/Linux:
NetworkManager --version 1.22.10
And in both versions when I select "Edit a connection" in
nmtui I'm not able to see any VPN.
How do you edit VPN connections with
nmtui (for example to change the server, port, etc.)?
Is there any missing package or whatever to do it?
It seems to me that you can just Activate or Deactivate a VPN but I may be wrong and maybe
nmcli and manual setup are not the only ways.
Thank you for this clarification.