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?

  • @[email protected]
    link
    fedilink
    26 months ago

    ufw or firewalld have presets and will automatically open the right ports and traffic types.

    Also these are different programs.