Perfect-Privacy and Port-Management/-Forwarding #1182
-
Hi, i'm try to troubleshooting my problem with connection to perfect-privacy. I'm using vpn for linux-image sharing via torrent. But with those port-checkers from the web, the ports are "all" closed. Somebody has an idea, hint or experience? System: |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 5 replies
-
Have you logged into your account at Perfect-Privacy to setup an open port? Have you configured gluetun to open that same port through its firewall? Have you mapped that port in your container stack? The gluetun wiki covers this topic: |
Beta Was this translation helpful? Give feedback.
-
As it says in the wiki, each VPN provider has their own method of opening a port. In the case of AirVPN, which I use, that port is valid across all of their servers (though I only use their servers from one country). Their built-in port checker will test a number of servers, but will only show as open for the server I'm connected to at that time. |
Beta Was this translation helpful? Give feedback.
-
I guess, this is a problem I already solved a year before. In perfect-privacy, the port is calculated in dependency of the internal vpn-ip. The calculated port I "send" to qbittorrent, what worked very well, the whole last year. As mentioned, also the tracker sees the right IP and port where I am sharing from. But the ports are all closed. I never had any troubles with forwarding of ports. Do I need this? Its in the Deluge Tutorial. But my setup is dead simple. Its from the wiki and I just added the city and the ports for the qbit-webgui. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Dear bnhf, you absolutely pointed me into the right direction. But what changed now? The months before, I used those 3 calculated ports, as mentioned before. Everytime the internal container-ip changes, the ports changed. This worked quite well, with the container from dperson/openvpn-client. (I automatically changed the ports in the qbit-instance with some scripting) Now, for error-potential-reduction I tried your mentioned 1:1 forwarded port, which unfortunately changes after one week. but for testing its okay. I added the points
to my docker-config. I guess, the last one is useless here, but the important one is that FIREWALL-thingy (its just a suppose, I will find out later) After starting the container, i tried the before mentioned port-checker, whether they are open or not. And guess what, the 1:1 is open, those calculated one not. (Maybe just because the firewall-thingy?) After some time, the connection-"button" in the bottom of qbit colored green (means connected), after round about 20 minutes, in the linux-iso-trackers i was connectable again. So now, there are the new problems to solve: But for now, I'm one or two steps beyond today in the morning :) So, a big big thanks for your patience and your interest and invested time :) If I find a solution for the newly created problems, I will update here. If you or some others have further ideas, your'e welcome. |
Beta Was this translation helpful? Give feedback.
-
Small update here, for some others, who need to run with perfect privacy. For error reduction, you should disable those TrackStop-Feature from PP #1144, so the container connects w/o any errors. For getting connectable in torrent via perfect privacy, you have to options. (at least from my point of view ;) hopefully there are some others?) First option: Second option: The second option sounds also like editing the ports in all your client-instances from time to time, So for now, I guess I'm done for the next year with editing or changing the ports :) I giant thank you again, to @bnhf for the fresh view and the right ideas for further researching and testing. @qdm12, is But maybe you could add my lessons-learned to your PP-config. It was an experience with blood, sweat and tears ;) |
Beta Was this translation helpful? Give feedback.
-
Just curious about one thing: The way I read Perfect-Privacy's website, if you select 1-to-1 port forwarding and you tick the box to "Automatically renew expired forwardings" it suggests that those same ports are renewed. Is that not the case? If not, what does that tick box actually do? |
Beta Was this translation helpful? Give feedback.
-
What do you mean with "those same ports are renewed"? |
Beta Was this translation helpful? Give feedback.
-
@olvier #2368 implements native port forwarding for Perfect Privacy's automatic portforwarding feature. You just need to put You can check the forwarded ports via the built-in control server. To reliably test if the ports are actually forwarded you can host a simple webserver with the port-checker script. You then access the server at |
Beta Was this translation helpful? Give feedback.
-
@jagaimoworks, i've read about this implementation, but i did not needed that in the past. But after moving to another location with my NAS, i wasnt able to get gluetun with full functionalities, again.
i already did, while testing and reading about #2368, nothing changed.
Didn't knew that, thank you for that. But the forwarded ports are
Should be the same as testing with external services ala portchecker.de and portchecker.co? edit: |
Beta Was this translation helpful? Give feedback.
@olvier #2368 implements native port forwarding for Perfect Privacy's automatic portforwarding feature. You just need to put
VPN_PORT_FORWARDING=on
in your Gluetun environment.You can check the forwarded ports via the built-in control server.
To reliably test if the ports are actually forwarded you can host a simple webserver with the port-checker script. You then access the server at
http://external-vpn-ip:forwarded-port
. Just make sure that the browser you are checking with is not using your VPN (see Port Fail mitigation.