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"
1717push "dhcp-option DNS $DNS1"
1818push "dhcp-option DNS $DNS2"
1919
20- ifconfig-pool-persist tmp/ipp.txt
20+ ifconfig-pool-persist /config/ tmp/ipp.txt
2121
2222# 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
2828remote-cert-tls client
2929
3030# Connection settings
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
1717push "dhcp-option DNS $DNS1"
1818push "dhcp-option DNS $DNS2"
1919
20- ifconfig-pool-persist tmp/ipp.txt
20+ ifconfig-pool-persist /config/ tmp/ipp.txt
2121
2222# 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
2828remote-cert-tls client
2929
3030# Connection settings
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
1717push "dhcp-option DNS $DNS1"
1818push "dhcp-option DNS $DNS2"
1919
20- ifconfig-pool-persist tmp/ipp.txt
20+ ifconfig-pool-persist /config/ tmp/ipp.txt
2121
2222# 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
2828remote-cert-tls client
2929
3030# Connection settings
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ dev tun0
1717script-security 2
1818
1919# 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"
2323down-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"
2929
3030#
3131# For username & password authentication uncomment bellow
You can’t perform that action at this time.
0 commit comments