networkmanager: basic ovpn guide

master
tiyn 2 years ago
parent 17b529f213
commit f98883b9e2

@ -0,0 +1,11 @@
# Init
The init process is the first process started after boot.
All processes running in later stages are descendants of the init process.
The init process is given to a init system that manages various services.
## Init Services
The following is a list of available init services.
- [SystemD](/wiki/linux/systemd.md) is most common among linux systems.

@ -0,0 +1,27 @@
# NetworkManager
NetworkManager - short NM - is a program to automatically detect and connect to
networks by providing options for various configuration.
## Installation
NetworkManager can be installed with the `networkmanager` package on most linux
distributions which provides daemon aswell as `nmcli` a command line interface
and `nmtui` a terminal user interface for configuration.
Additionally `nm-connection-editor` can be installed for a graphical user
interface.
## Usage
After installation `networkmanager.service` has to be enabled by the used
[init-system](/wiki/linux/init.md) (for example
[systemD](/wiki/linux/systemd.md#startstopenabledisable-a-service)).
### OpenVPN
NetworkManager needs a plugin to work with openvpn configurations.
This plugin can be installed with the `networkmanager-openvpn` package.
OpenVPNs `.ovpn` files can then be imported by running
`nmcli connection import type openvpn file <openvpn-file>`.
Afterwards the can be modified accordingly.

@ -1,7 +1,7 @@
# SystemD
SystemD is a software suit for system components for Linux systems.
It is mainly used for service configuration.
SystemD is an [init system](./init.md) for Linux systems.
It is used for service configuration and startup.
## Run command on boot
@ -40,3 +40,12 @@ Alternatively it can be enabled to start at every boot by running:
```sh
sudo systemctl enable unturned
```
## Start/Stop/Enable/Disable a service
Services can be started by running `systemctl start <service-name>`.
They respectively can be stopped by replacing the `start`
keyword for `stop`.
To start the service after boot it has to be enabled.
This works accordingly with the keyword `enable`.
The `disable` keyword stops the service from starting automatically.

Loading…
Cancel
Save