Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2001 13:41:09 +0200
From:      "Jonas Sonntag" <js@jonsonn.de>
To:        <freebsd-newbies@FreeBSD.ORG>
Subject:   AW: open ports
Message-ID:  <OGEMLNCPKLDPIACJOMOLAEGACDAA.js@jonsonn.de>
In-Reply-To: <Pine.BSF.4.33.0108071452010.32575-100000@mail.af-inet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
i was wondering about the same some time ago and turned off everything i do
not actually need.
everything but a service called 'SUN Remote Procedure Call' running on tcp
111.
i'm still curious to know what this is for, and how i could maybe turn it
off, if i don't have use for it.
can someone help?
i'm using 4.3-RELEASE

tnx.
j.

-----Ursprungliche Nachricht-----
Von: owner-freebsd-newbies@FreeBSD.ORG
[mailto:owner-freebsd-newbies@FreeBSD.ORG]Im Auftrag von Agemo Noraj
Gesendet: Dienstag, 7. August 2001 23:57
An: Thorel
Cc: freebsd-newbies@FreeBSD.ORG
Betreff: Re: open ports


On Tue, 7 Aug 2001, Thorel wrote:

> Hi how are you all?
> Ok i have a question how do i turn on and of ports on my freebsd computer?
>
> Thanxs
>
> Joe Lawrence

The quickest way to turn off and on common services is to edit
/etc/inetd.conf
If you see something that doesn't have a '#' in the beginnging of the line,
ask your self if you wan't others to be able to play with that service.

Put a '#' in front, and then from the command line, killall -HUP inetd

To further complicate the issues, if you want the service available but
only to certain hosts, from the command line man hosts.allow  or
man hosts.deny

If you want to have even more control over incoming/outgoing connections,
from the command line, man ipfw  or man ipf

If your wondering what ports you have open on your box. From the command
line, netstat -an | grep LISTEN

If your wondering what services those ports are, from the command line,
grep <port number> /etc/services

Agemo Noraj
-_-_-_-_-_
" What an excellent day for an exorcism. "
_-_-_-_-_-


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OGEMLNCPKLDPIACJOMOLAEGACDAA.js>