From owner-freebsd-questions Wed May 10 23:37:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.204.219]) by hub.freebsd.org (Postfix) with ESMTP id B4B4237B738 for ; Wed, 10 May 2000 23:37:50 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.12 #1) id 12pme0-0000VH-00; Thu, 11 May 2000 08:40:24 +0200 Date: Thu, 11 May 2000 08:40:24 +0200 From: Marc Silver To: Alan Chan Cc: questions@freebsd.org Subject: Re: closing port 25 & 111 Message-ID: <20000511084024.A369@draenor.org> References: <22776964.958008622932.JavaMail.imail@ants.excite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <22776964.958008622932.JavaMail.imail@ants.excite.com>; from alanux@excite.com on Wed, May 10, 2000 at 06:30:22PM -0700 X-Operating-System: FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey there, portmap_enable="NO" sendmail_enable="NO" Just add those two lines to your /etc/rc.conf and that will stop RPC and sendmail from starting at boot time. Then, to stop them without rebooting, simply kill(1) the running processes. Cheers, Marc On Wed, May 10, 2000 at 06:30:22PM -0700, Alan Chan wrote: > Hi, I am running a FreeBSD gateway and firewall. Currently, the > above-referenced ports are open and I wanted to close it. Can anyone show > me how to close port 25 (SMTP) and 111 (sunrpc)? By the way, what is port > 111 anyway? I have messaged out SMTP in the file /etc/inetd.conf, but it's > still open when i'm running nmap. Any reasons why? > > Thanks, > -- Is that a 286 or are you just running Windows? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message