Alles anzeigenI think I'm done
I tried a lot of methods with a single openvpn container in order to point my other containers on. Such as chuckremes/openvpn-client dperson and others.
I failed
So finally I create my jdownloader container and use the network of my tansmission one:
For transmission, I use
Codedocker run --privileged --restart=always --name=transmission -d -v /srv/dev-disk-by-label-Downloads/:/data \ -e "OPENVPN_PROVIDER=IPVANISH" \ -e "OPENVPN_USERNAME=xxxx@xx.xx" \ -e "OPENVPN_PASSWORD=xxxxx" \ -e "OPENVPN_CONFIG=ipvanish-AL-Tirana-tia-c02" \ -e "LOCAL_NETWORK=192.168.1.0/24" \ -e "TRANSMISSION_DOWNLOAD_DIR=/data/Downloads/Torrents" \ -e "TRANSMISSION_INCOMPLETE_DIR=/data/TorrentTemp" \ -e "TRANSMISSION_WATCH_DIR=/data/TorrentSurv" \ -p 9091:9091 haugene/transmission-openvpn
add your username, pass and for config, use your favorite ovpn
and then, for Jdownloader, I use -net=container:transmission
Codedocker run -d --name Jdownloader --net=container:transmission --restart=always \ -v /srv/dev-disk-by-label-Downloads/Jdownloader/cfg:/opt/JDownloader/cfg \ -v /srv/dev-disk-by-label-Downloads/Downloads/Directs:/downloads \ plusminus/jdownloader2-headless
At first load, after few min for Jdownloader update, stop the container
and modify org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json (in the folder /cfg set upside).
If the file does not exist, create it . Then add your mydownloader mail and password
Restart the container
And then the Jdownloader container can be adminisstrated with MyJdownloader, Web or apps
You can check you Wan IP with FTP.
I grabb a file on my OMV Ftp with Jdownloader (ftp://FTPlogin:FTPpass@OMV.WAN.FTP.IPyourLanIP/directories/file) and I check the IP of the device in my OMV gui , in the FTP system logs.
Wonderful
It's my IPVANISH IP!!!!!
If it can help somebody
The thing I have to check is the kill switch.
Edit:
Jdwonloader don't write anything to my download folder ( /srv/dev-disk-by-label-Downloads/Downloads/Directs for me).
I'll have to dig a little bit more
Edit 2:
Ok just modify the download folder in myjdownloader settings with /downloads
IT S DONE
I resolve the Thread
I m very interested in this method, but i have no clue where to start.
Can you help me out ?