Skip to content

Commit e237a80

Browse files
committed
Fixed paths
1 parent 04fd8b8 commit e237a80

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

root/defaults/example/config/basic_nat/config/server.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
1717
push "dhcp-option DNS $DNS1"
1818
push "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
2828
remote-cert-tls client
2929

3030
# Connection settings

root/defaults/example/config/basic_nat_wlp/config/server.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
1717
push "dhcp-option DNS $DNS1"
1818
push "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
2828
remote-cert-tls client
2929

3030
# Connection settings

root/defaults/example/config/basic_routed/config/server.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ push "redirect-gateway def1 bypass-dhcp"
1717
push "dhcp-option DNS $DNS1"
1818
push "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
2828
remote-cert-tls client
2929

3030
# Connection settings

root/defaults/openvpn/system.conf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ dev tun0
1717
script-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"
2323
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"
2929

3030
#
3131
# For username & password authentication uncomment bellow

0 commit comments

Comments
 (0)