Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch VPN configuration #1

Open
ghost opened this issue Dec 11, 2015 · 2 comments
Open

fetch VPN configuration #1

ghost opened this issue Dec 11, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 11, 2015

Download a configuration:

$  curl -o sensor_1.ovpn -u foo:bar -d 'name=sensor_1' https://vpn.tuxed.net/vpn-user-portal/new

Notes:

  • replace foo:bar with valid user and password;
  • replace sensor_1 with the name of the sensor, names can only be used once!
  • when fetching the configuration you can also use POST parameter option_zip=on to get a ZIP file with the configuration and separate certificate/key files
  • sensor_1 is already used and cannot be created anymore
  • you can only download a configuration once
  • you can login to https://vpn.tuxed.net/vpn-user-portal/ to see the active configurations and also revoke configurations
@ghost
Copy link
Author

ghost commented Dec 21, 2015

The API is simplified now, updated example above!

@ghost
Copy link
Author

ghost commented Feb 8, 2016

API changed again, now you have to obtain an API key in the portal and use that instead:

See https://vpn.tuxed.net/vpn-user-portal/api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants