PIA - Client AUTH_FAILED only when restarting by SIGHUP or SIGUSR1

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
openjack
OpenVpn Newbie
Posts: 1
Joined: Sat May 27, 2017 9:39 am

PIA - Client AUTH_FAILED only when restarting by SIGHUP or SIGUSR1

Post by openjack » Sat May 27, 2017 9:48 am

Hi,

I was wondering if anyone could help me out, what would cause this to happen?

I'm running a client OpenVPN 2.4.2 on linux.

Code: Select all

/usr/local/sbin/openvpn --keepalive 5 30 --mute-replay-warnings --auth-retry none --verb 4 --writepid /var/run/openvpn.pid --resolv-retry 3 --persist-remote-ip --daemon --log-append /var/log/openvpn.log --auth-user-pass /root/pia_credentials.txt --cd /root/ovpn --config "/root/ovpn/AU Sydney.ovpn"
All runs fine no problems.

However when I send SIGHUP or SIGUSR1 to the process, e.g with "kill -s SIGUSR pid", I get

Code: Select all

AUTH: Received control message: AUTH_FAILED
When this restart process occurs, does it restart with all the same command line options intact?

The --keepalive option isn't working for me, as it restarts with SIGUSR1 but I get the auth failure.

I'm connecting to Private Internet Access VPN services.

Thanks.

Post Reply