Knowledgebase:
OpenVPN Reconnect Script
Posted by pspzockerscene psp, Last modified by pspzockerscene psp on 30 August 2021 02:41 PM

OpenVPN Reconnect Script

Use the script(s) below to use OpenVPN as a reconnect method.

Windows (batch script)

  1. Download the OpenVPN batch reconnect script here and place it somewhere below your users folder e.g. C:\Users\myusername\someFolder\openvpnreconnect.bat .
  2. Test the script by double-clicking it. You should see a green "Success" message after a few seconds and OpenVPN will be started with a pre-selected different VPN config (location).
    In case you get an error, the script itself should contain all information to fix it.
  3. Open JDownloader and go to Settings -> Reconnect
    Select "External Batch Reconnect" and put the full path to your script in the big input field area e.g. C:\Users\myusername\someFolder\openvpnreconnect.bat .
    Leave the "start in" field empty.
  4. Now click the "Test" button in the upper right corner.
    After a few seconds you should see a "Reconnect Successful" message:

    You can now use the JDownloader auto-reconnect feature.

Linux (shell script)

There is no shell script available yet.
You're more then welcome to write one on your own and let us know so we can link it here.



Attachments 
 
 Settings_Reconnect_Test_Reconnect_Successful.png (12.99 KB)
 openvpnreconnect.bat (6.21 KB)
(1 vote(s))
Helpful
Not helpful