sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT

Category: Self-Hosting

sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT

Allow inbound TCP connections on port 80 at the iptables level

Directly adds an iptables rule to accept inbound TCP on port 80. Use UFW for day-to-day management; use iptables directly for advanced scenarios.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.