nmcli-connection: add import VPN example (#6185)
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
This commit is contained in:
parent
5bacde463d
commit
13840352d1
|
|
@ -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}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue