Discussion Locked

Closing ports on NT Server

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I close some ports(telnet for example) on my WinNT Server 4.0 ?

4 replies

by vila

there is a file in %systemroot%system32\drivers\etc called services. Just put # in the beginning of lines that you ar interestred.

by cavedweller

Commenting out entries in services only removes the port to service name mapping for a service. It doesn't prevent traffic on the port.

If you want to block traffic you need a firewall. You can easily configure a firewall to block selected services completely. Some firewalls (WinRoute Pro does this) allow you to block ports on a schedule. For instance, allow ftp during the day and block it after hours.

If you don't want services your server provides to be available (such as incoming telnet, ftp, etc.) you need to disable them in the service control panel or uninstall them in the network control panel.

This discussion is closed to new replies.