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

ETA: thanks for your input, issue has been solved

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    7 months ago

    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.

  • frankfurt_schoolgirl [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    It seems like that port needs to be accessible from the public Internet. Your local computer probably has at least one more firewall between it and the Internet, running on your router. You need to also forward the port on your router, which is what it says in the second half of the guide.

  • deadbeef79000@lemmy.nz
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    7 months ago

    Check if your ISP uses CGNAT for IPv4. If so, then you’re out of luck and IPv4 pretty forwarding will never work.

    See if your router has an external IP in the CGNAT 100.64.0.0/10 range.

    If you have IPv6 you can add a firewall rule to your router to allow the forwarding port through and at least have other IPv6 peers connect.