Quantcast
Channel: OpenVPN Support Forum
Viewing all articles
Browse latest Browse all 260

Scripting and Customizations • Re: Saving Username/Password

$
0
0
Successfully saved the credentials with these settings:

changed this line

Code:

auth-user-pass
to this

Code:

auth-user-pass pass.txt
this line also works

Code:

auth-user-pass "C:/Program Files/OpenVPN/config/pass.txt"
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.

Statistics: Posted by seyahdoo — Wed May 08, 2024 8:09 am



Viewing all articles
Browse latest Browse all 260

Trending Articles