Appends a rule accepting TCP packets headed for port 22, the SSH port. Without a similar rule, SSH connections fail once the default policy drops traffic. Append it before setting iptables -P INPUT DROP to avoid locking yourself out.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.