Minor documentation change
This commit is contained in:
parent
5c354e6947
commit
06b72892cb
27
README.md
27
README.md
|
|
@ -12,6 +12,13 @@ swap 4 GB
|
||||||
|
|
||||||
Netzwerkkonfiguration:
|
Netzwerkkonfiguration:
|
||||||
```
|
```
|
||||||
|
Hostname: ryovpn.rych01.rychiger.com
|
||||||
|
DNS: 8.8.8.8
|
||||||
|
NTP: server 0.centos.pool.ntp.org iburst
|
||||||
|
server 1.centos.pool.ntp.org iburst
|
||||||
|
server 2.centos.pool.ntp.org iburst
|
||||||
|
server 3.centos.pool.ntp.org iburst
|
||||||
|
|
||||||
TYPE="Ethernet"
|
TYPE="Ethernet"
|
||||||
NAME="enp0s10f0"
|
NAME="enp0s10f0"
|
||||||
DEVICE="enp0s10f0"
|
DEVICE="enp0s10f0"
|
||||||
|
|
@ -38,6 +45,10 @@ Anschliessend Installation OpenVPN:
|
||||||
```
|
```
|
||||||
# yum install epel-release
|
# yum install epel-release
|
||||||
# yum install openvpn -y
|
# yum install openvpn -y
|
||||||
|
|
||||||
|
Noch ein paar Zusatzpakete:
|
||||||
|
# yum install mailx -y
|
||||||
|
# yum install git -y
|
||||||
```
|
```
|
||||||
|
|
||||||
Installation NGINX (Zugang fuer Statusabfragen):
|
Installation NGINX (Zugang fuer Statusabfragen):
|
||||||
|
|
@ -149,3 +160,19 @@ MAILTO=root
|
||||||
|
|
||||||
Startup mit Systemd einrichten:
|
Startup mit Systemd einrichten:
|
||||||
gemaess /opt/openvpn/systemd/README
|
gemaess /opt/openvpn/systemd/README
|
||||||
|
|
||||||
|
Verzeichnis /opt/openvpn/users muss angelegt werden:
|
||||||
|
```
|
||||||
|
# mkdir /opt/openvpn/users
|
||||||
|
```
|
||||||
|
|
||||||
|
User anlegen:
|
||||||
|
```
|
||||||
|
# groupadd sysadmin
|
||||||
|
# useradd -m -g sysadmin sysadmin
|
||||||
|
# passwd sysadmin
|
||||||
|
|
||||||
|
# groupadd sysoper
|
||||||
|
# useradd -m -g sysoper -s /opt/openvpn/sysoper/sysoper_shell sysoper
|
||||||
|
# passwd sysoper
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue