location of VPNs config file
Vyhlidal, David
David.Vyhlidal at charter.com
Thu Aug 25 19:51:09 PDT 2016
Not sure what happened emails wise, I did just reply.
Thank you very much for you input. I understand it Is not O.C. subject , was hoping you may know answer to N.M subject.
No further action required.
Thx.
%%%%%%%%%%%%%%%%%%%%%%%%%%
Thank you for your fast respond.
I was unable to come up with export all VPN connection command using just nmlci syntax.
I used this line to export all connection in individual exports:
for x in `nmcli con show |awk '{print $1}'|grep -v NAME`; do echo $x:;nmcli con export $x > $x-VPN.conf ;done
Could you please provide me with syntax using nmlci to export and import all VPN connection currently configured?
Thank you .
David Vyhlidal| Implementation - System Engineer II
924 Ellis Rd. Suite 101|Durham, NC 27703|Direct (919) 287-3855
david.vyhlidal at charter.com
-----Original Message-----
From: David Woodhouse [mailto:dwmw2 at infradead.org]
Sent: Thursday, August 25, 2016 2:21 AM
To: Vyhlidal, David <David.Vyhlidal at charter.com>; openconnect-devel at lists.infradead.org
Subject: Re: location of VPNs config file
On Thu, 2016-08-25 at 04:07 +0000, Vyhlidal, David wrote:
> What is the location of VPN config file so I can backup my configured
> VPN servers on client on Ubuntu 16.04, OpenConnect version v7.06 ?
OpenConnect itself doesn't have a config file in a defined location.
It just takes arguments on the command line. One of those argument
*can* be a config file, containing more options... but it just looks where you tell it.
If you're using NetworkManager then that'll be where your configuration is stored; try 'nmcli con export' or 'nmcli con show'.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thank you .
David Vyhlidal| Implementation - System Engineer II
924 Ellis Rd. Suite 101|Durham, NC 27703|Direct (919) 287-3855
david.vyhlidal at charter.com
-----Original Message-----
From: David Woodhouse [mailto:dwmw2 at infradead.org]
Sent: Thursday, August 25, 2016 11:01 AM
To: Vyhlidal, David <David.Vyhlidal at charter.com>; openconnect-devel at lists.infradead.org
Subject: Re: location of VPNs config file
On Thu, 2016-08-25 at 07:32 +0000, Vyhlidal, David wrote:
> Thank you for your fast respond.
>
> I was unable to come up with export all VPN connection command using just nmlci syntax.
> I used this line to export all connection in individual exports:
> for x in `nmcli con show |awk '{print $1}'|grep -v NAME`; do echo $x:;nmcli con export $x > $x-VPN.conf ;done
>
> Could you please provide me with syntax using nmlci to export and import all VPN connection currently configured?
That's no longer an OpenConnect; it's a NetworkManager one.
If you had replied normally, I would have copied the NM list to get it
answered. But because you top-posted, the context is missing...
I note that 'nmcli con export' doesn't actually seem to export the
whole thing. Maybe you could just back up the underlying file from
/etc/NetworkManager/system-connections/ or wherever it is on your
system?
--
dwmw2
More information about the openconnect-devel
mailing list