this post was submitted on 09 Aug 2023
311 points (97.6% liked)
Privacy
30856 readers
589 users here now
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
Chat rooms
-
[Matrix/Element]Dead
much thanks to @gary_host_laptop for the logo design :)
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you're doing a P2P related activity over a VPN (or otherwise), port forwarding is very important for improving speed or enabling the service at all. That's because your router blocks incoming traffic from certain ports by default, ports that will be used with a P2P connection. To get around this, you can 'forward' a port that can be used for said P2P activity, letting your router know that the traffic you expect to see from a specific port should be let through.
You can simply leave port forwarding to your personal router, but if you want to stay anonymous while participating in P2P connections, then you'll want to use a VPN service. If a VPN service doesn't utilize port forwarding, then any P2P connections you use will either be straight up impossible, or very slow. For example, you wanted to host a gaming server without giving away your actual IP address, then a VPN with port forwarding is desirable. The same can be said for torrenting.
I appreciate the breakdown, but I meant i was ignorant on why port forwarding was important for a VPN :) Was still a great write up that should be used as reference for others! :D
I didnt realize you still had to port forward to get around ISP traffick shaping/blockage with a VPN. Thought the encrypted tunnel between you and the VPN disguised that, and any port stuff was done at their end, after exiting the tunnel.
VPNS with port forwarding matter if you want to stay anonymous while using P2P services.
@Helldiver_M @Dubious_Fart @leraje actually the port forwarding thing is about accepting inbound connections. Without port forwarding, NAT routers (including VPNs) randomly allocate ports for outbound connections but still won't accept inbound connections on those same ports.
There's a trick where you discover the randomly allocated port numbers and then both connect to each other at the same time so both routers think it's outbound. It works unreliably and BitTorrent doesn't use it.
Why doesn't the new UDP torrent protocol use STUN or any of the server- or peer-assisted ways of punching a UDP hole between two NAT-ed endpoints?
I found out about this port forwarding matter a few days ago and gave it a try with PIA, and was disappointed with the results, but I'd like to know if I did something wrong on my end.
I'm currently torrenting about 100 torrents in a VPS running Qbittorrent with a Wireguard config from Mullvad, and I've been able to get great speeds, about 500 Mbps at the highest.
The other day I set up PIA with gluetun, through OpenVPN, with port forwarding too, put all the 100 torrents in Deluge too. The upload speeds for seeding didn't seem any faster, but the download speeds were not quite as good. It would top at around 200 Mbps, best case.
Out of curiosity I also tried wireguard configs from Windscribe, with no port forwarding though, and it would also top out at about 250 Mbps or so.
I'm currently back with Mullvad and Qbittorrent. It's been working fine for months now, so I'm wondering if I'm really missing out without port forwarding.
Anyway, and tips or suggestions are welcome!
Yeah, it works fine for me, so...?
Jeez is this why my torrents slowed down to a crawl lately? I'm on Mullvad and wasn't aware they removed port forwarding, or even really what port forwarding is until now.