Jump to content
Not connected, Your IP: 44.200.77.59

Recommended Posts

What is the best way (if there is a way) to connect to a predefined server by using just one-click?

 

For example, a Windows 8.1 start menu shortcut that once clicked would load up a client and connect to a server.

Share this post


Link to post

One way I've found so far is to create a openvpn-gui.exe (location below) shortcut, tick 'Run as administrator' in the shortcut's Compatibility tab and specify the --connect ovpn file that can be created from this website's client area->config generator and saved in C:\Program Files\OpenVPN\config. If you're using a 32-bit system use Program Files (x86).

 

"C:\Program Files\OpenVPN\bin\openvpn-gui.exe" --connect Nunki.ovpn

 

Copy the shortcut to your start menu and pin to Start. Job done.

Share this post


Link to post

Using a self-written script, I think.

:: openvpn-script-example.cmd
@echo off
C:\Path\to\OpenVPN\openvpn.exe AirVPN_config_file.ovpn
[antidnsleak-script.cmd]
...
...

Something like that. Right click > Pin to start menu and you're done.


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...