man: add OTP-based VPN activation example
This commit is contained in:
@@ -178,6 +178,19 @@ B,DISPATCH</screen>
|
||||
</para>
|
||||
</example>
|
||||
|
||||
<example><title>Activating a VPN connection profile requiring interactive password input</title>
|
||||
<screen><prompt>$ </prompt><userinput>nmcli --ask con up my-vpn-con</userinput></screen>
|
||||
<para>
|
||||
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 <emphasis>password-flags</emphasis> are set to '0x02' ('always ask', see
|
||||
<link linkend='nm-settings'><citerefentry><refentrytitle>nm-settings</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>
|
||||
).
|
||||
This is particularly useful for OTP based VPNs, as the user needs to be prompted for the
|
||||
password each time the connection is activated.
|
||||
</para>
|
||||
</example>
|
||||
|
||||
<example><title>Adding a bonding master and two slave connection profiles</title>
|
||||
<screen><prompt>$ </prompt><userinput>nmcli con add type bond ifname mybond0 mode active-backup</userinput>
|
||||
<prompt>$ </prompt><userinput>nmcli con add type ethernet ifname eth1 master mybond0</userinput>
|
||||
|
Reference in New Issue
Block a user