summarylogtreecommitdiffstats
path: root/cyberghostvpn_wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'cyberghostvpn_wrapper')
-rwxr-xr-xcyberghostvpn_wrapper4
1 files changed, 4 insertions, 0 deletions
diff --git a/cyberghostvpn_wrapper b/cyberghostvpn_wrapper
index 144c0e892646..03b74f00a85b 100755
--- a/cyberghostvpn_wrapper
+++ b/cyberghostvpn_wrapper
@@ -4,4 +4,8 @@
# to ensure that cyberghost is calling the openvpn wrapper
export PATH=/usr/local/cyberghost:$PATH
+# cyberghostvpn expects wireguard certificate to be located at '../certs/wireguard/ca.crt'
+# cd into /usr/local/cyberghostvpn/certs so that pinned certificate will be found
+cd /usr/local/cyberghost/certs
+
/usr/local/cyberghost/cyberghostvpn "$@"