summarylogtreecommitdiffstats
path: root/cyberghostvpn_wrapper
blob: 03b74f00a85bb7f8f47fdb87c41f38d7682ed7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# put location of openvpn wrapper first in $PATH
# 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 "$@"