OpenVPN client not read credentials

Hello!

I'm having a noob problem between ExpressVPN and OpenVPN in my WRT3200ACM with latest 19.07.7 firmware.
I found this trend but not work for me OpenVPN not reading credentials automatically R7800 19.07 - #5 by eduperez

My problem is exactly like this but my router don't read the my user&pass file.
This is my ovpn file:

auth-user-pass "/etc/openvpn/expressvpn.auth"
dev tun
fast-io
persist-key
persist-tun
nobind
remote brazil-ca-version-2.expressnetw.com 1195

remote-random
pull
comp-lzo no
tls-client
verify-x509-name Server name-prefix
ns-cert-type server
key-direction 1
route-method exe
route-delay 2
tun-mtu 1500
fragment 1300
mssfix 1200
verb 3
cipher AES-256-CBC
auth SHA512
sndbuf 524288
rcvbuf 524288
auth-user-pass

-----BEGIN CERTIFICATE----- MII......

When I use cli it work!

openvpn --config Brazil.ovpn --auth-user-pass /etc/openvpn/expressvpn.auth
Tue Mar 2 13:45:27 2021 OpenVPN 2.4.7 arm-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Tue Mar 2 13:45:27 2021 library versions: OpenSSL 1.1.1j 16 Feb 2021, LZO 2.10
Tue Mar 2 13:45:27 2021 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Tue Mar 2 13:45:27 2021 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Mar 2 13:45:27 2021 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Mar 2 13:45:27 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]
......

Thanks for you help!

1 Like

Did you try it without quote marks around the file name?

Remove the duplicate option.

3 Likes

Thanks!!!!!
Now is working.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.