-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat(vpn-port-forwarding): add qbittorrent port update example #121
Conversation
aa5a7ed
to
3da4f5e
Compare
There's an example from the pull request that added the feature that uses
|
@markleaf131313 thanks for the heads up. I wish I had found that comment sooner :). I think adding this to readme will make it easier for consumers. Would you mind if I used this in my PR or would you like to submit one with this? |
You can use it, I was going to make a pull request until saw there already was one lol. |
@markleaf131313 PR is updated and credited :). |
Oh you don't have to credit me, I just found the other thread. A couple of people posted variations of it addressing the problems, the one used was by @Marsu31 which addressed gluetun logging all output as errors. |
ah fixed and credited @Marsu31 :). |
This was really helpful in getting port forwarding to work with transmission, I ended up creating a small script since for transmission's RPC you need to get a session ID first. Hopefully this helps other people:
(Don't forget to chmod +x the script)
It needs some changes if you want to have the transmission host as a parameter and if you use a username/password for RPC, but hopefully it's a good starting point. It might also help to increase retries or script in a delay between retries in case gluetun comes up before transmission has fully started, but in my tests it seemed reliable enough for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 💯 !!
@stephen304 see qdm12/gluetun#2611 (feel free to comment on that PR if you feel there is something missing). Scripts are welcomed (built-in the docker image), although small single line commands like this one is better if possible 😉 |
Thanks @stephen304, the transmission equivalent is very tedious. Why they require a CSRF token for a JSON API call I'll never know... |
Adding a sample script that shows how to update listening port for qbittorrent. Script uses curl which its installing at run time. If it's possible to add curl to the base image that would be ideal. I can send a PR but was not sure if we are trying to minimize the size of the base image.
Also removed some verbiage around how filtering for proton vpn wireguard servers was not ideal. I saw conflicting statements in the readme where one section mentioned private key's were different and another said they were the same. From my usage I did not need to do a custom provider setup and just had to set the private key and the p2p filtering option. I could get it working with the following options.
So i assumed those statements were no longer accurate?