commands are:

iptables -I INPUT -p tcp --dport 3389 -j ACCEPT > to open only that tcp port

sudo ufw enable transmission > to open the whole program

being a newbie I’d say it’s safer to only open a determined port with iptables. What do you think?

  • ryannathans
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    6 months ago

    sudo ufw allow 3389

    How’s that? Check the docs on ufw for more