Page 1 of 1

Issue related with auto-login

Posted: Tue Mar 24, 2020 12:07 am
by goroldi
Hi,

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


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
But if I use

/etc/init.d/openvpn start comand

every time is asking for credentials.


So Is any diference betwen them?


Thanks in avance

Re: Issue related with auto-login

Posted: Tue Mar 24, 2020 9:02 pm
by goroldi
Any idea?? I'm lost and I dont know what to do.