Hi guys,
I am pretty unexperienced with VPN and need your help! Due to COVID19 the employees of my small company are staying home and I want them to be able to access our company server.
Here's the situation:
I have set up an ubuntu pc with PiVPN and I have created different users and generated their .ovpn files.
When I try to connect from my Mac via OpenVPN Connect I get the error
PEM_PASSWORD_FAIL: mbed TLS: error parsing
(the program does not ask me for my credentials at any point).
So I tried Tunnelblick where I get one step further: It asks for my password and then connection is established! But I have the problem that I cannot access the internet as soon as the VPN connection is established. Also I cannot use the resources (e.g. printer), neither can I ping any other device than the PiVPN Server. So it's like I reach the server but there it ends, it doesn't forward me to anything.
The error I get in the log file is this:
Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:3: block-outside-dns (2.4.8)
My .ovpn file is this:
client
dev tun
proto udp
remote XXXXXX 1194
resolv-retry infinite
nobind
remote-cert-tls server
tls-version-min 1.2
verify-x509-name XXXXXX name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
<ca>
-----BEGIN CERTIFICATE-----
XXXXXXX
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
XXXXXXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
XXXXXXX
-----END ENCRYPTED PRIVATE KEY-----
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
XXXXXXX
-----END OpenVPN Static key V1-----
</tls-crypt>
I've tried different things I found on the internet but nothing helped. I need you guys!!! Thanks 🙂