Forrest logo
back to context overview

nmcli-connection

List of commands for nmcli-connection:

  • nmcli-connection:tldr:28346 nmcli-connection: Deactivate a connection.
    $ nmcli connection down uuid ${uuid}
    try on your machine
    explain this command
  • nmcli-connection:tldr:2990a nmcli-connection: Create an auto-configured dual stack connection.
    $ nmcli connection add ifname ${interface_name} type ${ethernet} ipv4.method ${auto} ipv6.method ${auto}
    try on your machine
    explain this command
  • nmcli-connection:tldr:3c624 nmcli-connection: Create a static IPv6-only connection.
    $ nmcli connection add ifname ${interface_name} type ${ethernet} ip6 ${2001:db8::2-64} gw6 ${2001:db8::1} ipv6.dns ${2001:db8::1} ipv4.method ${ignore}
    try on your machine
    explain this command
  • nmcli-connection:tldr:793ef nmcli-connection: Create a VPN connection using OpenVPN from a OVPN file.
    $ nmcli connection import type ${openvpn} file ${path-to-vpn_config-ovpn}
    try on your machine
    explain this command
  • nmcli-connection:tldr:7bb58 nmcli-connection: List all NetworkManager connections (shows name, UUID, type and device).
    $ nmcli connection
    try on your machine
    explain this command
  • nmcli-connection:tldr:af139 nmcli-connection: Create a static IPv4-only connection.
    $ nmcli connection add ifname ${interface_name} type ${ethernet} ip4 ${10-0-0-7-8} gw4 ${10-0-0-1} ipv4.dns ${10-0-0-1} ipv6.method ${ignore}
    try on your machine
    explain this command
  • nmcli-connection:tldr:c6c5d nmcli-connection: Activate a connection by specifying a UUID.
    $ nmcli connection up uuid ${uuid}
    try on your machine
    explain this command
back to context overview