Disble remote login

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Sat Oct 16 12:33:52 PDT 2004


Spiral Eyed Girl wrote:

> Hello, I am a FreeBSD newbie, so please excuse me if I don't use 
> correct jargon :)
>
> I am running FreeBSD 5.2.1, and durring setup, I diabled all servers 
> (ftp, finger, etc). My
> question is, how to I disable remote login through telnet? I am using 
> this as a workstation,
> and have no use for a server. I have an always on connection, so I 
> want to be secure
>
> Any help?
>
> Thanks




Turning off all unwarranted services is the first line of defense.
Another good point would be to run a firewall, either ipfw or ipf.

A section in the Handbook describes installation and configuration
of ipfw.

You'd want one rule, for sure, for the situation described above.  Something
akin to:

        deny ip from any to me setup

    which should deny any machine from attempting a connection to a server
port on your machine, should any be open.  Put it high in the list.

Kevin Kinsey


More information about the freebsd-newbies mailing list