Air VPN, qBittorrent, port forwarding not working

Hi everyone, I know I’m in over my head here but everything had gone perfectly following the tutorials found here:

- https://greenfrognest.com/index.php

Everything was set up perfectly and everything seems to be working. However, when I try and check my ‘connectability’ of my qBittorrent client it’s saying I’m not ‘connectable’ and qBittorrent says I’m ‘firewalled’.

I know it’s not my qBittorrent settings as the port is set up there. The website I’m using can see the connection.

docker-compose.yml is setup as the following:

https://imgur.com/a/Soghx7z

Can anyone point me in the right direction?

Air VPN and qBittorret works perfectly on my Windows machine. I’m so lost, I know I don’t have the knowledge to work this out on my own. I’ve been fiddling and trying things for around five hours today. I know it’s probably some small detail that I’m not getting.

Thanks for your help!

I cannot see any portmapping on your VPN container for that 42989 port.

For the future, please do not use screenshots to show the content of a simple text file.

following the tutorials found here:

If you are following a complete tutorial and then the result doesnt work as expected, you should ask the author of that tutorial for help.

And you are using a Linuxserver qbittorrent image, so for any qbit specific problems you should ask them:

Thanks for the reply! I’ll look into portmapping for containers. Like I said I’m a complete novice at this and felt happy after the tutorial had seemed to work out; but yeah, I think I’m in way over my head. I’ll try and get in touch with the author of the tutorial. Thank you for the link!

> For the future, please do not use screenshots to show the content of a simple text file.

Why?

For the future, please do not use screenshots to show the content of a simple text file.

Why?

They are often hard to read because of picture compression. In your third picture for example the last port mapping, i cannot tell what that is supposed to be. Maybe its pixelated on purpose for censoring something? Impossible to tell. So its a waste of time.

And when its about troubleshooting and someone wants to point out a specific part of the file where a error might be, we cannot copy/paste those parts. Do you expect someone to look at your picture of text and then type the whole thing new just to help you by fixing a typo or something?

And often people take screenshots of not the entire file, cutting out pieces that they think are not important to the problem but they very well might be. Since its you who is asking for help, you should provide complete details and not leave things out (other than censoring/removing sensitive data of course). Otherwise people need to ask you for the rest of the file, again wasting time. You did this for in your second picture for example, thats not a complete compose file, you simply cropped it to what you think is important. That piece may be enough, or not.

These are very basic common things when asking for (tech) support online. Its nothing specific to Docker.

Understood. Everything you say makes perfect sense. Sorry for the mistake. In all honesty I’m embarrased because I don’t know how to copy the text file when working through the terminal. I’m learning bit by bit though. Thanks!

Sorry for the mistake.

Not a problem, now you know for the future.

In all honesty I’m embarrased because I don’t know how to copy the text file when working through the terminal.

No clue honestly, probably depends a bit on your terminal settings and what client app you are using. Worst case, you can pipe text to termbin as a service.

cat file.txt will simply output the content of that file.

Redirect that output to the tool nc which is netcat and provide hostname and port as target:

cat file.txt | nc termbin.com 9999https://termbin.com/3dn6

This will read the file and send it to termbin.com, when done it will spit out a simple short URL that you can then either copy/paste and give to someone else, or worst case when copy/pasting doesnt work at all, just type it manually on another computer. Since the URL is most likely much shorter than the content of the file, this is still a advantage.

Beyond that, especially with Docker compose files that rely on correct formatting to work, pasting such a file to Reddit can be a pain for casual users (because Reddit loves to mess with the markdown formatting for different clients like web old/new, official mobile app, thirdparty apps, etc). When doing it with termbin, the formatting is kept intact and someone else can view the link and see that file exactly as you have it.

Since i can never remember the exact hostname and port for this termbin service, i have this as a alias in my bashrc:

alias termbin='nc termbin.com 9999'

Then i can simply do cat file.txt | termbin and done, easy to remember.

If you need that text file on some other computer, you can also very easily download it from termbin:

curl -o file.txt https://termbin.com/3dn6 and done.

2 simpler ways to copy a file to clipboard:

Look up what the command to pipe text to clipboard is on your operating system. For example on Mac it’s pbcopy:

cat file.txt | pbcopy

Or, open the file in your text editor and just copy it. On Mac open does that:

open file.txt

Wow a wealth of information there. Thank you for taking the time to write that up. I’ll give it a try!