Evening all,
New to the boards as I really cant for the life of me get this configuration to work.
I have a Raspberry Pi 3B+ running PiVPN. This works well with all devices.
I am trying to configure a Raspberry Pi 4 with 64bit Kali Raspberry Pi OS to auto establish a connection to the PiVPN Server on power up.
The certificate works fine when manually establishing the connection. However it is the automation.
OpenVPN will ask for the "Private Pass Key" when
root: OpenVpn file.conf
is entered.
i have tried
askpass
and
auth-pass-user
both linked to
/etc/openvpn/client/pass.txt
but neither approach works (
pass.txt
is CHMOD600).
Has anyone managed to work a solution to this, or can they point me in the direction (trawled as much of the regular sites for an answer as i can now)
Thanks.