Saving Username/Password
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Jan 07, 2021 8:55 pm
Re: Saving Username/Password
auth-usr-pass "./login.conf"
This did not help in connecting OpenVpn Connect 2.6.0.100 on a Windows 10 machine.
auth-user-pass "C:\\Users\\ab\\Downloads\\login.conf"
Any suggestions on how to fix it?
This did not help in connecting OpenVpn Connect 2.6.0.100 on a Windows 10 machine.
auth-user-pass "C:\\Users\\ab\\Downloads\\login.conf"
Any suggestions on how to fix it?
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Aug 27, 2020 4:02 am
Re: Saving Username/Password
I'm trying to figure this out now, June 27th 2022. I'm not having good luck.
On mine, the .exe is called OpenVPNConnect.exe and there is no config directory next to it. The exact path is "C:\Program Files\OpenVPN Connect"
is Connect something else, a completely different program?
On mine, the .exe is called OpenVPNConnect.exe and there is no config directory next to it. The exact path is "C:\Program Files\OpenVPN Connect"
is Connect something else, a completely different program?
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Aug 27, 2020 4:02 am
Re: Saving Username/Password
Please, tell me what I must do then. Is there a special client I have to download? I just want a vpn to my isp that saves my username/pw. I have a ovpn file from my ISP.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Jun 18, 2020 9:55 am
Re: Saving Username/Password
Hi,
Is it possible to save user &pwd combination directly in the distributed .OVPN file? For example , my Keenetic router supports this tag in passed .OVPN files:
<auth-user-pass>
user
pwd
</auth-user-pass>
The target OpenVPN client is OpenVPN Connect 2.7.1.111, OS - Windows 10 x64 21H2
Is it possible to save user &pwd combination directly in the distributed .OVPN file? For example , my Keenetic router supports this tag in passed .OVPN files:
<auth-user-pass>
user
pwd
</auth-user-pass>
The target OpenVPN client is OpenVPN Connect 2.7.1.111, OS - Windows 10 x64 21H2
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Apr 18, 2023 11:42 am
Re: Saving Username/Password
I got the same issue as I added a new line for auth-user-pass at the end of the .ovpn file. But there was a pre-existing auth-user-pass without any filename higher up in the .ovpn file, which cause the issue. Try add your password file with the full path to the pre-existing auth-user-pass line and leave it with that.Kyrax wrote: ↑Fri Nov 15, 2013 9:20 amGood morning,xauen wrote:1. Create a txt file on a folder alongside your .ovpn files name it what ever you want ex. 'pass.txt'
2. Put your user/pass inside the file in two(2) lines, like:
3. Then save it.Code: Select all
username password
4. open up your .ovpn file in notepad and add:
5. save and connect to your openvpn server.Code: Select all
auth-user-pass pass.txt
i tried this but the password continue to be asked. it look like the second line isn't read. (the file pass.txt was created with notepad++)
No error messages appear in logs.
Version 2.3.2
OS: Win 7 64 bits
Thanks for your help
-
- OpenVpn Newbie
- Posts: 8
- Joined: Fri Jun 09, 2023 12:27 pm
Re: Saving Username/Password
Yep.
askpass tunnel.pass
and no login in tunnel.pass
only password.
thanks!
askpass tunnel.pass
and no login in tunnel.pass
only password.
thanks!
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed May 08, 2024 8:02 am
Re: Saving Username/Password
Successfully saved the credentials with these settings:
changed this line
to this
this line also works
Created a new file named "pass.txt" on the same directory with ovpn file, Encoding is UTF-8, Line endings are LF.
You can set these properties using the bottol right bar on vscode.
pass.txt has three lines, first contains username, second line contains password, third line is empty.
changed this line
Code: Select all
auth-user-pass
Code: Select all
auth-user-pass pass.txt
Code: Select all
auth-user-pass "C:/Program Files/OpenVPN/config/pass.txt"
You can set these properties using the bottol right bar on vscode.
pass.txt has three lines, first contains username, second line contains password, third line is empty.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri May 03, 2024 11:04 pm
OpenVpn works fine without packet loss in Pakistan
Sorry Buddy I am posting my query in your reply it's really urgent to resolve this issue. I cannot find option for the new post.My openvpn works fine in night time Pakistan.I have a remote job in Bulgaria that's why using this vpn.Please help me how can I fix this issue. No one is helping me properly in company.