Jump to content
Not connected, Your IP: 216.73.216.120

Recommended Posts

Good morning! First of all, congratulations on the amazing work behind AirVPN. I'm writing to request the option to connect to a server through the API. There is an option to disconnect, but the option to automatically connect to a server does not seem to be available. I was wondering if it would be possible to add this functionality.
Best regards, and thank you in advance.
image.thumb.png.381b0665fdc1eda19148898b6eb7aa09.png

image.png

Share this post


Link to post

Ehm. I am not sure how your thinking goes here, but the initiator of connections is always some VPN client. The API though operates on the backend of the server infrastructure. There is an endpoint for disconnection because the infrastructure has knowledge of all sessions and can force one of those to be killed, after which the client must reconnect itself.
If there were an endpoint for connecting, what would you expect from the server? In the first place, which server? There are 262 possibilities as of today…
The closest existing endpoint to your idea would be the generator endpoint which generates a config file. It can be pulled by curl for example right into OpenVPN or a wg-quick command, but as you can see, a client still initiates the connection.

Please outline what you're really trying to do, or rather, how your idea came to be. I believe there are ways to do this locally.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...