NetworkManager와 함께 연결 관리. 이 하위 명령은
nmcli c
로도 호출할 수 있습니다. 더 많은 정보: https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html.
nmcli connection
nmcli connection up uuid {{uuid}}
nmcli connection down uuid {{uuid}}
nmcli connection add ifname {{인터페이스_이름}} type {{이더넷}} ipv4.method {{auto}} ipv6.method {{auto}}
nmcli connection add ifname {{인터페이스_이름}} type {{이더넷}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}
nmcli connection add ifname {{인터페이스_이름}} type {{이더넷}} 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 {{경로/대상/vpn_구성.ovpn}}