os: xubuntu 24.04
firewall: ufw
torrent program: transmission
On transmission I opened port 51401
On a terminal I executed sudo ufw allow 51401, which opens both tcp and udp ports for both ipv4 and ipv6. This is called forwarding, right?
I’m following https://github.com/transmission/transmission/blob/main/docs/Port-Forwarding-Guide.md but apparently I still don’t get it
No, you need to forward from your router as well.
Internet -> router -> machine -> firewall
You’ve only allowed the firewall on this machine to allow that port through. Forward that port from your router to your machine’s IP and port as well.
then how come I’ve always torrented without editing the router?
I’ve used privoxy, can that be the reason?
You can still torrent without forwarding a port, for example by only making outgoing connections. But that may limit your speed, and figuring out forwarding should help.
Your client may have set a UPnP request that your router respects…hard to say. You didn’t post any router config info, so it’s hard to say what your environment looks like or was previously working. UPnP is frowned upon for security reasons, so it’s best to just forward if in doubt.