1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-03-04 06:34:48 +01:00

restructuring: reevaluating the docker headers

This commit is contained in:
TiynGER
2021-03-10 21:30:32 +01:00
parent 5876bc0e26
commit 33fdfdfc90
34 changed files with 240 additions and 290 deletions

View File

@@ -1,12 +1,10 @@
# OpenVPN
## Setup Server
### Docker
## Setup Server with Docker
The official container and documentation was made by [kylemanna](https://hub.docker.com/r/kylemanna/openvpn).
#### Volumes
### Volumes
Set the following volumes with the -v tag.
@@ -14,7 +12,7 @@ Set the following volumes with the -v tag.
| ----------- | --------------- | ------------------------ |
| `ovpn` | `/etc/openvpn` | storage for openvpn data |
#### Ports
### Ports
Set the following ports with the -p tag.
@@ -22,7 +20,7 @@ Set the following ports with the -p tag.
| -------------- | ------------------------ | -------- | ------------ |
| `1194` | `1194` | UDP | openvpn port |
#### Additional
### Additional
There are some special variables to set.
@@ -30,7 +28,7 @@ There are some special variables to set.
| ----------- | ---------------------- |
| `--cap-add` | add linux capabilities |
#### Rebuild
### Rebuild
```shell
#!/bin/sh