💾 Archived View for freeshell.de › tldr › nmcli-connection.gmi captured on 2023-09-28 at 16:43:43. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

nmcli connection

Connection management with NetworkManager.

More information.

nmcli connection
nmcli connection up uuid {uuid}
nmcli connection down uuid {uuid}
nmcli connection add ifname {interface_name} type {ethernet} ipv4.method {auto} ipv6.method {auto}
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}
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}
nmcli connection import type {openvpn} file {path/to/vpn_config.ovpn}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY