I`m running openVPN (2.4.3) on linux
Client config
client
dev tun
proto udp
remote xxxxxxx
nobind
auth-user-pass /etc/openvpn/auth.txt
resolv-retry infinite
auth SHA512
cipher AES-256-CBC
comp-lzo
verb 2
mute-replay-warnings
remote-cert-tls server
persist-key
persist-tun
dev tun
proto udp
remote xxxxxxx
nobind
auth-user-pass /etc/openvpn/auth.txt
resolv-retry infinite
auth SHA512
cipher AES-256-CBC
comp-lzo
verb 2
mute-replay-warnings
remote-cert-tls server
persist-key
persist-tun
I genrate a auth.txt file with my credentials
If I use openvpn --config /etc/openvpn/client.ovpn comand is working fine.
Code: Select all
Tue Mar 24 00:56:34 2020 WARNING: file '/etc/openvpn/auth.txt' is group or others accessible
Tue Mar 24 00:56:34 2020 OpenVPN 2.4.3 arm-oe-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Aug 16 2018
/etc/init.d/openvpn start comand
every time is asking for credentials.
So Is any diference betwen them?
Thanks in avance