Re: network-manager-openconnect and csd-wrapper



On Wed, 2016-09-14 at 12:32 +0000, Vincent Fortier wrote:
Hi all,

Looking for help to solve a few issues/questions in regards to NM in
conjunction with openconnect:
1) How can we pass --csd-wrapper=script to openconnect using NM?
2) The gui currently does not allow selecting ".pfx" files.  Is it ok
to force that by manually editing the relevant
/etc/NetworkManager/system-connections/XYZ file?
3) is it possible to create an extensive openconnect connection
directly using nmcli?  (tried it but seemed to lack quite a few
options available into the gui)


Hi,

regarding 3):

A connection is only the set of key-value pairs as you see it
in /etc/NetworkManager/system-connections/XYZ. As such, you can achieve
any supported configuration by editing the file directly (followed by
`nmcli connection reload`).
Similarly, `nmcli connection modify` allows you to modify every
setting. This is at certainly true for VPN, as nmcli is unaware what
the fields mean there.

So, yes, you can do it via nmcli. But that leaves you with the question
which properties are supported there.

There is no documentation for that. See the source code:

https://git.gnome.org/browse/network-manager-openconnect/tree/shared/nm-service-defines.h?id=0a801fb674aab47bd6b9da53c1d04a0e2f49cdab
https://git.gnome.org/browse/network-manager-openconnect/tree/src/nm-openconnect-service.c?id=0a801fb674aab47bd6b9da53c1d04a0e2f49cdab#n81



Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]