Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add confirmed working port forward scripts #115

Open
jimger opened this issue Aug 25, 2024 · 3 comments
Open

[Enhancement] Add confirmed working port forward scripts #115

jimger opened this issue Aug 25, 2024 · 3 comments

Comments

@jimger
Copy link

jimger commented Aug 25, 2024

I was looking a way to get docker to centralize bittorrent and pia. I found this awesome docker image that does that. I spent a few hours trying to combine it with lscr.io/linuxserver/qbittorrent:latest and find out how to programmatically combine it with port forwarding. Thanks to a script found in one of the issues (#26 (comment)), I managed to get it working. Since you already have working scripts for some clients, why don't you actually put them in your /scripts folder as the pia-forward scripts etc. That way we won't really need to reference any own scripts (at least for this job).

Thanks much for your effort :)

@thrnz
Copy link
Owner

thrnz commented Aug 26, 2024

I wonder if the repo wiki might be the best place for collating working scripts, or at least having links to them there. That way they'd be a bit more visible than having to trawl through issues to find them.

I've updated the examples page to include a script for setting qBittorrent's listen port. Hopefully there's enough there to quickly get things working for most setups. If you came across any particular stumbling blocks when you first set it up let me know and I can probably expand on whats there as needed.

I'm a bit reluctant to include that kind of stuff in the container itself. I think I'd rather keep things simple, and maintaining scripts to support different pieces of software isn't something I'm too keen on doing.

@ScottESanDiego
Copy link

Feel free to point to (or just copy) https://github.com/ScottESanDiego/qbittorrent-porthelper and https://github.com/ScottESanDiego/transmission-porthelper . They aren't pretty, but they are reliable and unintrusive to the wireguard-pia container. Usage and a docker-compose file should be pretty self-evident, along the lines of:

    image: scotte/qbittorrent-porthelper:latest
    container_name: qbittorrent-porthelper
    environment:
      - HOST=192.168.10.254:8080
      - USERNAME=YourqBittorrentUsernameHere
      - PASSWORD=YourqBittorrentPasswordHere
    volumes:
      - /data/software/wireguard-pia/:/piashared
    depends_on:
      - qbittorrent

@thrnz
Copy link
Owner

thrnz commented Aug 27, 2024

Thanks for those. I've added them to the wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants