Re: Re: How do I disable (close) ports?
J. Paul Bruns-Bielkowicz (email@example.com) wrote:
> > Commenting out things in /etc/services doesn't
> > disable anything.
> It seems to. The above ports were closed just by commenting them out of
> /etc/services and then rebooting.
How did you verify?
> No, I just changed /etc/services
It's just mapping ports, so
$ telnet 127.0.0.1 nntp
works, if you have a newsserver installed, but
$ telnet 127.0.0.1 119
should still work.