-
Notifications
You must be signed in to change notification settings - Fork 57
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
INFO about pf + router #51
Comments
To confirm you want the qbits webui reachable through the VPN tunnel? I see no advantage for this due the WAN IP is likely not static unless you bought that package resulting in needing a DDNS service running as well. Using the the Container in host mode can work but not recommended! as you want to be able to attach your qbit container to the same network as the PIA one so that all traffic is routed through it. Otherwise you gonna have to create some custom funky routes yourself on the host machine. If you want ports open then you are likely needing to check this out #20 keys things to check if not working are both qbit and PIA in the same docker network. found out the IP of the qbit within the docker network and define it in the env PF_DEST_IP. Docker can resolve however the container via the name of the container when in the same network but unsure if it will work for the env PF_DEST_IP. |
Hi @Androkiller, thanks for your interest in this topic. Assuming that Qbit is going and with the current configuration it downloads, it depends on the server clogging but it downloads, I am wondering if there is a way to get high ID, from memory (I am talking about the early days of eMule and the like) a low ID only connects with a low ID, while a high ID has high IDs available as well, so if possible and if it is worth it, I am looking for a way to do it.
Now, however, I find myself with a "locked" network inside the docker and I don't know either if what I am asking can be done, or how to do it. Do you have any ideas or have you ever tried? |
So you want the incoming port for qbit exposed through the VPN tunnel. |
Thank you @Androkiller Like I said I'm not good in routing stuff, so if I read correctly, with I miss some point or is correct? |
Hi,
I am not an expert on docker, I know very little, so sorry if the questions I will ask seem like simple problems.
I am currently using this docker in a single stack with qbittorrent, everything works fine, but I am asking myself some questions, especially about PF and the possibility to create 2 different stacks, one for WG and one for the torrent client, but let's go in order.
Is there a possibility to be able to take advantage of upnp and open the pia port on the router?
For example, if from windows I simply try to connect to pia and then copy the pf manually into qbittorrent then the port is automatically opened on the router and even a check with https://portchecker.co/ confirms that the port is open
If instead I try on the nas through docker and this repository the port is not opened on the router.
I checked the qbittorrent logs and find this:
And this's my actual docker-compose:
It seems to consider 172.31.0.2 to be a router, but instead it is the network address assigned to it by docker.
Now, if I understand correctly, dockers can work in host or bridge network mode. In host mode no port is specified, and it is like a program on the normal network, while in bridge mode it is assigned another ip and communicates with the host computer.
Question: is there any way to use the WG connection with pia in host mode? Is it worth it? Would it change anything?
Or, can't you manipulate the docker ip tables by setting the router ip address and opening the pf port?
It seems to me that there is no option to set the router address in the script options, or did I not see it?
Since the web interface responds from the local network, I tried manually opening the pf port to the nas ip address, but the port always remains closed.
Btw, if I activate the FIREWALL a lot of tracker not working, is normal right?
Any ideas on how I can forward the port?
PS can be one idea to "split" the docker? I mean one docker for the wg+pia and another one or as many as I need to run extra services like qbittorrent that use the wg+pia docker. Is that possible?
J
The text was updated successfully, but these errors were encountered: