-A appends to the INPUT chain, -p tcp specifies the protocol, --dport is the destination port, -j ACCEPT is the action. Order matters — rules are evaluated top-to-bottom and the first match wins.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.