1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 17:46:02 +02:00

nmcli-connection: add import VPN example (#6185)

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
This commit is contained in:
CleanMachine1 2021-07-01 03:27:27 +01:00 committed by GitHub
parent 5bacde463d
commit 13840352d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}`