GithubHelp home page GithubHelp logo

Comments (17)

jlesage avatar jlesage commented on June 24, 2024 6

Please try the following steps to get a direct connection. It worked for me.

  • First, add a new port mapping for TCP port 3129 to your container configuration (-p 3129:3129).
  • Open the JDownloader UI.
  • Go to Settings->Advanced Settings.
  • Search for MyJDownloaderSettings.
  • Set Custom Device IPs to the IP address of the host running the container, between double quotes (e.g. "192.168.1.1").
  • Change the Direct Connection Mode to Allow lan/wan connections with manual port forwarding.
  • Restart JDownloader.

from docker-jdownloader-2.

zensbert avatar zensbert commented on June 24, 2024 1

Dauhonks approch works perfect:

  • JDownloader Settings -> Advanced Settings -> Search "Flashgot" -> uncheck "will listen on localhost only" (restart required)
  • Add port forwarding for CNL to Docker start arguments: “-p 9666:9666”

But i wanted to add:

  • On your "windows client" redirect the local port 9666 to the jdownloader docker image by typing in CMD:
    netsh interface portproxy add v4tov4 9666 IP_OF_DOCKER 9666 127.0.0.1

from docker-jdownloader-2.

rix1337 avatar rix1337 commented on June 24, 2024

Already implemented. Use myjdownloader

from docker-jdownloader-2.

Anuskuss avatar Anuskuss commented on June 24, 2024

Nice, didn't know My JDownloader was capable of that. Guess I'm switching to plusminus/jdownloader-headless though.

Edit: Nevermind, this is actually better than running it completely blind.

from docker-jdownloader-2.

dauhonk avatar dauhonk commented on June 24, 2024

These settings need to be changed to activate CNL for the docker JDownloader container:

  • JDownloader Settings -> Advanced Settings -> Search "Flashgot" -> uncheck "will listen on localhost only" (restart required)
  • Add port forwarding for CNL to Docker start arguments: “-p 9666:9666”
  • On client side install “Click'n'Load request proxy” add-in and configure Docker host IP (firefox/chrome)

from docker-jdownloader-2.

rix1337 avatar rix1337 commented on June 24, 2024

What I noticed: MyJDownloader would use the local IP of the JDownloader, if it were not running inside docker, when contacted in lan. I cant run the container in host mode (mainly because of VNC), so the internal IP reported to myJDownloader by this will always be the 172.X.X.X variant.

Have you guys found any way to override this with the docker host ip? This would dramatically increase the snappyness of MyJDownloader in the local network (have verified with a native JD2 install).

from docker-jdownloader-2.

jlesage avatar jlesage commented on June 24, 2024

I guess you are talking about the MyJDownloader Browser Extension?

from docker-jdownloader-2.

rix1337 avatar rix1337 commented on June 24, 2024

And the mobile app.

Both will try to reach the docker bridge subnet first, the myjdownloader connection second (relayed over WAN). Since the bridge subnet has an IP range unavailable to the LAN, both the extension and app have constant connection issues. They work, but slowly.

Any idea where we can override or spoof the docker host IP "into jdownloader"?

from docker-jdownloader-2.

pokrzys avatar pokrzys commented on June 24, 2024

What I noticed: MyJDownloader would use the local IP of the JDownloader, if it were not running inside docker, when contacted in lan. I cant run the container in host mode (mainly because of VNC), so the internal IP reported to myJDownloader by this will always be the 172.X.X.X variant.

Thanks for the great find! I also found that standalone install of JD2 is running much better in MyJdownloader than the docker one. Just didn't realize that using host instead of brigde would fix this problem! I've nothing against running it at host network so now my JD2 is running almost as smooth as standard installation.

from docker-jdownloader-2.

rix1337 avatar rix1337 commented on June 24, 2024

How did you get this running in host mode?!

from docker-jdownloader-2.

pokrzys avatar pokrzys commented on June 24, 2024

I am running it at nas with openmediavault as OS. It has plugin for docker with nice GUI so I just switched from Bridge to Host in that GUI, restarted container and that's all. But I don't use vnc so I don't know if it can couse any problems.

from docker-jdownloader-2.

rix1337 avatar rix1337 commented on June 24, 2024

Ah, I am running Unraid, which has its own Desktop GUI built in.

If I switch to host, the docker container complains, that another x-Server (that of UNRAID) is already running.

Can't use host mode, sadly.

from docker-jdownloader-2.

pokrzys avatar pokrzys commented on June 24, 2024

Have you tried another jdownloader image? On another machine I'm using plusminus/jdownloader-headless which also works fine. It just doesn't have webpage, being used just through MyJdownloader website. Can't decide which one top use so I use both. It is jd for headless systems and should not have any conflicts with x-server.

from docker-jdownloader-2.

rix1337 avatar rix1337 commented on June 24, 2024

Oh god, this is so much better!!! Thank you @jlesage this is all I ever wanted!

from docker-jdownloader-2.

tristan-k avatar tristan-k commented on June 24, 2024

Do I still need a MyJDownloader account to communicate between my docker container with jdownloader and my browser running on a different computer? I dont want to share data my data with my.jdownloader.org for privacy reasons.

from docker-jdownloader-2.

dauhonk avatar dauhonk commented on June 24, 2024

Do I still need a MyJDownloader account to communicate between my docker container with jdownloader and my browser running on a different computer? I dont want to share data my data with my.jdownloader.org for privacy reasons.

No. If the ports below are forwarded to your network and your client computer is on the same network you can directly communicate with jdownloader:
5800/tcp --> WebGUI (your Browser)
5900/tcp --> VNC (e.g. tightVNC Client)
9666/tcp --> CNL (via Browser CNL plugin or SSH tunnel (e.g. PuTTY))

No need for a myjdownloader account

from docker-jdownloader-2.

tristan-k avatar tristan-k commented on June 24, 2024

Thanks for answering. Can you recommend a click'n'load firefox addon and explain how to configure it? I thought port 3129 is there for direct connection. Also is it possible to redirect and solve captchas with the click'n'load addon?

from docker-jdownloader-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.