How Do You Set Inbound Rules?

How do you create an inbound rule?

.

How do I change inbound rules in Windows 10?

How do I set inbound and outbound rules in Windows?

What are inbound rules?