Here, we identified the antiviral peptide 8P9R with dual functions to inhibit viral infection by cross-linking viruses to reduce viral entry on cell surface (i.e., TMPRSS2-mediated entry pathway for SARS-CoV) and by interfering endosomal acidification to block viral entry through endocytic pathway. Here, TMPRSS2 is linked to viral infectious disease.