document client test
This commit is contained in:
parent
d7797e4b1e
commit
cf4837f5b0
48
README.md
48
README.md
|
|
@ -214,3 +214,51 @@ Git Config:
|
||||||
[http]
|
[http]
|
||||||
sslVerify = false
|
sslVerify = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Testen der Verbindung
|
||||||
|
|
||||||
|
```
|
||||||
|
[joerg@cinnamon test-openvpn-rychiger]$ sudo openvpn --config ewon.rychiger.com.conf
|
||||||
|
|
||||||
|
[joerg@cinnamon test-openvpn-rychiger]$ more ewon.rychiger.com.conf
|
||||||
|
dev tap1
|
||||||
|
proto tcp
|
||||||
|
suppress-timestamps
|
||||||
|
status-version 2
|
||||||
|
rport 443
|
||||||
|
verb 1
|
||||||
|
mute 10
|
||||||
|
comp-lzo
|
||||||
|
persist-key
|
||||||
|
up-delay
|
||||||
|
route-delay 0
|
||||||
|
nobind
|
||||||
|
client
|
||||||
|
tls-exit
|
||||||
|
ca cacert.pem
|
||||||
|
reneg-sec 86400
|
||||||
|
keepalive 30 120
|
||||||
|
hand-window 140
|
||||||
|
remote ewon.rychiger.com
|
||||||
|
resolv-retry 60
|
||||||
|
auth-user-pass
|
||||||
|
|
||||||
|
|
||||||
|
am besten auf Linux:
|
||||||
|
|
||||||
|
Testuser erstellt mit
|
||||||
|
|
||||||
|
$ string_to_hash="7355+TT" /opt/openvpn/sysoper/hashme.py >/opt/openvpn/users/testuser.pwd
|
||||||
|
|
||||||
|
auch CCD-File erstellen, siehe unten
|
||||||
|
|
||||||
|
[root@ryovpn openvpn]# more users/testuser.pwd ccd/testuser
|
||||||
|
::::::::::::::
|
||||||
|
users/testuser.pwd
|
||||||
|
::::::::::::::
|
||||||
|
$2b$12$OkJpfcPt7Uk8DMVjBbuStedJ63rahYw05E7vNAg9PQigL97ox18Am
|
||||||
|
::::::::::::::
|
||||||
|
ccd/testuser
|
||||||
|
::::::::::::::
|
||||||
|
ifconfig-push 10.3.6.254 255.255.0.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue