Discussion Locked

How do I manually close ports?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, this is my first post within TechRepublic. I am hoping to learn a lot about networking. I would like to know how to manually close ports on my router, without shutting down services. I have searched the internet for answers and haven't been successful. Sorry if this is an obvious thing.

Regards, Seann

4 replies

by bfilmfan

Welcome to TR.

The first question back is what brand of router do you have?

For a Cisco to turn off some of the more common ports:

echo (TCP and UDP) - port 7
chargen (TCP and UDP) - port 19
daytime (TCP only) - port 13
discard (TCP and UDP) - port 9
finger - port 79
bootp - port 67/68

These can be turned off by the commands:

no service tcp-small-servers
no service udp-small-servers
no service finger
no ip bootp server

Which ports are you looking to close off?

by vinny18

hey i wanna close a port of my application lets say port no 1600.. how can i do this with dos command

by choppit

Are you talking about incoming or outgoing ports? If it's a NAT router your incoming ports should be closed until you configure it otherwise via forwarding rules.

by sinister

Thanks for the quick replies. I use a Sagem router supplied by my ISP Tiscali [UK]. Is it just as simple as logging into my router and changing the settings there?

Thanks

This discussion is closed to new replies.