From 13840352d144f96aec4db9064b07a53a436daf14 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 1 Jul 2021 03:27:27 +0100 Subject: [PATCH] nmcli-connection: add import VPN example (#6185) Co-authored-by: Axel Navarro --- pages/linux/nmcli-connection.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/nmcli-connection.md b/pages/linux/nmcli-connection.md index 3a96ec8b62..107938d400 100644 --- a/pages/linux/nmcli-connection.md +++ b/pages/linux/nmcli-connection.md @@ -26,3 +26,7 @@ - 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}}` + +- Create a VPN connection using OpenVPN from a OVPN file: + +`nmcli connection import type {{openvpn}} file {{path/to/vpn_config.ovpn}}`