Blocking Ports using Firewall and Router Firewall?

I've noticed some open ports on my router when I ran a portscan from the attached computer. I'm trying to close them.

I've blocked the ports using the computer's firewall (inbound and outbound, all protocols) but the loopback scan still shows them as open.

Does anyone know how to block specific ports on a D-Link 3780 Router?

I've already tried the steps listed in this guide with no success:

http://smallbusiness.chron.com/block-ports-dlink-34270.html

The Router-IP portscan still shows the ports I'm trying to block as open.

Can anyone explain what I need to do?
 
Solution
The firewall rules apply to only traffic going through the router not to the router itself...at least on most devices.

There should be setting to disable remote management of the device which should close http. I have no idea why your router would have ftp open unless you set it up to act as a ftp server.

Now this only matters if you are scanning from a website on the outside. If you are running some program on your PC on the inside then the router has a number of ports open to allow you to configure and maintain it. It does not really matter what ports are open on the inside since only your machine have access.
If you are not using port forwarding or DMZ you have no ports open. If traffic comes in from the internet the router does not know which internal machine to send it to so it just drops it. This is almost the perfect firewall and any router that has nat function this way.

The router may have some ports open itself but by default most routers do not allow any remote configuration from the wan port so you need to check the settings. Many routers even by default do not respond to ping/icmp
 
The Router is in its default configuration as far as ports are concerned because this is the first time I've ever configured the ports.

However, like all consumer Routers, it is configured, by default, to allow HTTP, FTP and a few other common ports.

I tried the guide I linked in my original post but the ports I tried to block are still listed as open. Either I did something wrong or the portscan itself is bypassing the Router's firewall/port-management.

Obviously I didn't block every single port. :p
 
The firewall rules apply to only traffic going through the router not to the router itself...at least on most devices.

There should be setting to disable remote management of the device which should close http. I have no idea why your router would have ftp open unless you set it up to act as a ftp server.

Now this only matters if you are scanning from a website on the outside. If you are running some program on your PC on the inside then the router has a number of ports open to allow you to configure and maintain it. It does not really matter what ports are open on the inside since only your machine have access.
 
Solution