In this example we will block all ports and open only http port 80, the direction is from WAN to LAN, we will also open DNS port 53 to allow DNS queries.

The example below was taken from a 2710 router.