Jump to content
Not connected, Your IP: 18.119.161.216
Sign in to follow this  
hornsounder

OpenVPN up/down script

Recommended Posts

Hi,

Is there anyway to specify the OpenVPN up/down script option when using the AirVPN client? I can't see any option on the AirVPN client GUI.

I want to automatically remove ISP DNS servers from my primary ethernet adapter when the OpenVPN TAP adapter comes up and restore the DNS when the TAP adapter goes down. I am doing this manually using bat files as suggested on http://www.dnsleaktest.com/how-to-fix-a-dns-leak.php

Is there anyway to do this automatically?

It would be nice to have 2 edit boxes to specify the Paths of the up script and down script on the AirVPN GUI and the AirVPN GUI can pass it over to the openvpn.exe when invoking it or put into the temporary config file that it creates. This way these bat files can get executed automatically.

Thanks!

Share this post


Link to post

Hello!

We're sorry, the option to execute scripts is not available in the Air client. You might like to prepare a script which performs what you wish and then launches OpenVPN. Our configuration generator (menu "Member Area"->"Access without our client") will generate all the files needed by OpenVPN.

Kind regards

Share this post


Link to post

Ok thanks for the info.

I prefer the convenience of the AirVPN client app. I am going to try working around this by compiling small helper app and rename it as openvpn.exe and invoke the real openvpn.exe from my helper app with the right args. I don't have too much experience building for windows. I am going to give a quick try with MinGW.

Would you consider adding up/down scripts as options on the AirVPN client app as a future enhancement?

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
Sign in to follow this  

×
×
  • Create New...