From e3ea7245c381ce4be7c5147ea11a7a997b089e17 Mon Sep 17 00:00:00 2001 From: Francesco Giudici Date: Wed, 14 Nov 2018 16:46:41 +0100 Subject: [PATCH] man: add OTP-based VPN activation example --- man/nmcli-examples.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man/nmcli-examples.xml b/man/nmcli-examples.xml index 0b15f112d..32fc567b0 100644 --- a/man/nmcli-examples.xml +++ b/man/nmcli-examples.xml @@ -178,6 +178,19 @@ B,DISPATCH + Activating a VPN connection profile requiring interactive password input +$ nmcli --ask con up my-vpn-con + + This command activates a VPN connection profile enabling nmcli to interact with the user + ('--ask'): this will allow nmcli to prompt for the VPN password on the command line when + the password-flags are set to '0x02' ('always ask', see + nm-settings5 + ). + This is particularly useful for OTP based VPNs, as the user needs to be prompted for the + password each time the connection is activated. + + + Adding a bonding master and two slave connection profiles $ nmcli con add type bond ifname mybond0 mode active-backup $ nmcli con add type ethernet ifname eth1 master mybond0