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:
parent
5bacde463d
commit
13840352d1
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue