You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting the .ovpn onto a phone (OpenVPN Connect URL import) seamlessly
#1518
The script writes client.ovpn in the home directory, and the README says to copy it off with scp. That is fine from a laptop. OpenVPN Connect on a phone can also import a profile by URL (HEAD / GET /openvpn-api/profile), which scp does not cover.
bootstash sits beside the openvpn server this script installs. You still create and revoke profiles the same way. bootstash only stores the file you already have and hands that one file to Connect.
bootstash put ./alice.ovpn (or upload it in the browser)
Paste the cubby origin into OpenVPN Connect
Sign in with Google, then once with the existing Linux account
Connect imports the profile
The import URL is a one-time token of about 60 seconds. It is a convenience cubby for bootstrap files (Debian package, Google sign-in linked to a PAM user), not a certificate manager and not a place to keep long-term secrets.
If you want a browser admin instead of Connect import, two other projects have already been linked here:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
The script writes
client.ovpnin the home directory, and the README says to copy it off withscp. That is fine from a laptop. OpenVPN Connect on a phone can also import a profile by URL (HEAD/GET /openvpn-api/profile), whichscpdoes not cover.For that last step I wrote https://github.com/nyetwurk/bootstash - looking for feedback or other similar solutions
bootstash sits beside the openvpn server this script installs. You still create and revoke profiles the same way. bootstash only stores the file you already have and hands that one file to Connect.
bootstash put ./alice.ovpn(or upload it in the browser)The import URL is a one-time token of about 60 seconds. It is a convenience cubby for bootstrap files (Debian package, Google sign-in linked to a PAM user), not a certificate manager and not a place to keep long-term secrets.
If you want a browser admin instead of Connect import, two other projects have already been linked here:
Happy to adjust this if a shorter note is more useful.
Definitely would like to know if I'm just reproducing someone else's better solution
All reactions