Closed Micovec closed 1 year ago
Resolved this.
This is completely my mistake. The private key was protected using passphrase instead and so there was no need for auth-user-pass
.
Replacing auth-user-pass
with askpass
instead with only the passphrase on the first line inside vpn.auth resolved it.
I'm bit struggling with
auth-user-pass
option. Even tough I follow instructions by adding new line to my vpn.confand store it beside vpn.conf I still get the following error:
It is very similar to #34 but they resolved with this option, I couldn't. It seems like it is ignoring it because when I change it to nonexisting file I get:
Here's my OpenVPN configuration file:
And docker-compose file:
I even tried to use secrets with
VPN_AUTH_SECRET
option but the same error pops up.Could it be because of some missing/wrong option in configuration file?