username and password into OVPN file

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
tintern64
OpenVpn Newbie
Posts: 3
Joined: Sat Nov 27, 2021 6:32 pm

username and password into OVPN file

Post by tintern64 » Sat Nov 27, 2021 7:52 pm

Hi Everyone,

I have an app on an Amazon Firestick and I am trying to configure the VPN side of it.
I have uploaded the OVPN file and it asks me for username and password.
I tried adding in the line "auth-user-pass login.txt" and uploading the .txt file but still asks for username and password.

Can I put the username and password in the .ovpn file?

Thanks
G.

User avatar
Pippin
Forum Team
Posts: 1012
Joined: Wed Jul 01, 2015 8:03 am

Re: username and password into OVPN file

Post by Pippin » Sat Nov 27, 2021 7:56 pm

No.

Try:

Code: Select all

auth-user-pass /path/to/login.txt

tintern64
OpenVpn Newbie
Posts: 3
Joined: Sat Nov 27, 2021 6:32 pm

Re: username and password into OVPN file

Post by tintern64 » Sat Nov 27, 2021 8:02 pm

will try and confirm if working..thanks

tintern64
OpenVpn Newbie
Posts: 3
Joined: Sat Nov 27, 2021 6:32 pm

Re: username and password into OVPN file

Post by tintern64 » Sat Nov 27, 2021 8:30 pm

Afraid that didn't work. Doesn't seem to be able to read the .txt file

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 457
Joined: Tue Feb 16, 2021 10:41 am

Re: username and password into OVPN file

Post by openvpn_inc » Tue Nov 30, 2021 11:15 pm

tintern64 wrote:
Sat Nov 27, 2021 8:30 pm
Afraid that didn't work. Doesn't seem to be able to read the .txt file
Why not? What was the error? The answer was correct from the openvpn point of view, but there could be lots of causes of "unable to read a file" outside of openvpn.

Regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply