JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 29.01.2020, 16:05
H34dl3ss H34dl3ss is offline
Modem User
 
Join Date: Oct 2019
Posts: 1
Default Reconnect VPN external trigger

I have a static IP and I'm running a JD2 headless docker on a BananPi for the "long jobs".
To improve efficiency, I have been thinking of using a VPN provider to obtain "fresh" IP's. I have a NordVPN account.
As the JD is running in a docker, I have to tell the host to reset the VPN somehow. Unless you have better ideas, I thought of letting JD write a trigger file into a exported folder that is monitored by a host side script.
If the file is present, the host shall reconnect the VPN and remove the trigger file.

I think I'm able to do the bash scripting but,
I need help with the JD reconnect script that writes the the trigger file to
a custom location. Please include the recent IP that was used by JD into the trigger file. This can be used to verify if the reconnect yielded a new IP.
The host side script could also feed back the new IP to JD via a success file.
This file could be used to signal to JD that the new connection is ready for use.

Better ideas?
Appreciate your help with this one!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 01:28.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.