File tree Expand file tree Collapse file tree 4 files changed +26
-26
lines changed Expand file tree Collapse file tree 4 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
17
17
push "dhcp-option DNS $DNS1"
18
18
push "dhcp-option DNS $DNS2"
19
19
20
- ifconfig-pool-persist tmp/ipp.txt
20
+ ifconfig-pool-persist /config/ tmp/ipp.txt
21
21
22
22
# CA files
23
- ca pki/ca.crt
24
- cert pki/issued/server.crt
25
- key pki/private/server.key
26
- dh pki/dh.pem
27
- tls-crypt pki/ta.key
23
+ ca /config/ pki/ca.crt
24
+ cert /config/ pki/issued/server.crt
25
+ key /config/ pki/private/server.key
26
+ dh /config/ pki/dh.pem
27
+ tls-crypt /config/ pki/ta.key
28
28
remote-cert-tls client
29
29
30
30
# Connection settings
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
17
17
push "dhcp-option DNS $DNS1"
18
18
push "dhcp-option DNS $DNS2"
19
19
20
- ifconfig-pool-persist tmp/ipp.txt
20
+ ifconfig-pool-persist /config/ tmp/ipp.txt
21
21
22
22
# CA files
23
- ca pki/ca.crt
24
- cert pki/issued/server.crt
25
- key pki/private/server.key
26
- dh pki/dh.pem
27
- tls-crypt pki/ta.key
23
+ ca /config/ pki/ca.crt
24
+ cert /config/ pki/issued/server.crt
25
+ key /config/ pki/private/server.key
26
+ dh /config/ pki/dh.pem
27
+ tls-crypt /config/ pki/ta.key
28
28
remote-cert-tls client
29
29
30
30
# Connection settings
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
17
17
push "dhcp-option DNS $DNS1"
18
18
push "dhcp-option DNS $DNS2"
19
19
20
- ifconfig-pool-persist tmp/ipp.txt
20
+ ifconfig-pool-persist /config/ tmp/ipp.txt
21
21
22
22
# CA files
23
- ca pki/ca.crt
24
- cert pki/issued/server.crt
25
- key pki/private/server.key
26
- dh pki/dh.pem
27
- tls-crypt pki/ta.key
23
+ ca /config/ pki/ca.crt
24
+ cert /config/ pki/issued/server.crt
25
+ key /config/ pki/private/server.key
26
+ dh /config/ pki/dh.pem
27
+ tls-crypt /config/ pki/ta.key
28
28
remote-cert-tls client
29
29
30
30
# Connection settings
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ dev tun0
17
17
script-security 2
18
18
19
19
# Hooks call
20
- route-up "run_hooks route-up"
21
- route-pre-down "run_hooks route-pre-down"
22
- up "run_hooks up"
20
+ route-up "/usr/local/bin/ run_hooks route-up"
21
+ route-pre-down "/usr/local/bin/ run_hooks route-pre-down"
22
+ up "/usr/local/bin/ run_hooks up"
23
23
down-pre
24
- down "run_hooks down"
25
- client-connect "run_hooks client-connect"
26
- client-disconnect "run_hooks client-disconnect"
27
- learn-address "run_hooks learn-address"
28
- tls-verify "run_hooks tls-verify"
24
+ down "/usr/local/bin/ run_hooks down"
25
+ client-connect "/usr/local/bin/ run_hooks client-connect"
26
+ client-disconnect "/usr/local/bin/ run_hooks client-disconnect"
27
+ learn-address "/usr/local/bin/ run_hooks learn-address"
28
+ tls-verify "/usr/local/bin/ run_hooks tls-verify"
29
29
30
30
#
31
31
# For username & password authentication uncomment bellow
You can’t perform that action at this time.
0 commit comments