location of VPNs config file

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

 



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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5760 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20160825/c413a05d/attachment.bin>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux