Help with blocking of the list of ports

Dear Sirs!
I need to block incoming connections to the list of ports. Outgoing connections must be working. For example: i need to access to the internet (80, 443 ports), but nobody from internet can not reach test web-server on my PC by using same (80, 443 ports). What i must to do step by step.

The easiest thing to do is:

  1. Open CIS and select Firewall
  2. Select Stealth Ports Wizard
  3. Select ‘Block all incoming connections and make my ports stealth for everyone’

This will change the Global rules (see image) so that, amongst other things, all inbound traffic is blocked. If you wish to open a port, for example to your web server, you would create a rule, above the block, to allow TCP In to port 80, or whichever port you’ve defined.

[attachment deleted by admin]