Allow inbound TCP on a specific port.
Section: Firewalling with nftables and iptables
Allow a port with UFW
bash
bash
sudo ufw allow 443/tcpExplanation
Allow inbound TCP on a specific port.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Firewalling with nftables and iptables