In this study, we have found two peptides of Tag7 (PGLYRP1) protein-17.1A (HRDVQRT) and 17.1B (RSNYVLKG), that have different affinities to the TNFR1 receptor and the Hsp70 protein. Peptide 17.1A is able to inhibit signal transduction through the TNFR1 receptor, and peptide 17.1B can activate this receptor in a complex with Hsp70. Thus, it is possible to modulate the activity of the TNFR1 receptor and further perform its specific inhibition or activation in the treatment of various autoimmune or oncological diseases.