From owner-freebsd-questions Wed May 10 18:44:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (fw2.wilsonandhorton.co.nz [203.99.66.4]) by hub.freebsd.org (Postfix) with ESMTP id 8CADF37B559 for ; Wed, 10 May 2000 18:44:43 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.9.3/8.9.3) id NAA01451; Thu, 11 May 2000 13:44:41 +1200 (NZST) (envelope-from jonc) Date: Thu, 11 May 2000 13:44:41 +1200 From: Jonathan Chen To: Alan Chan Cc: freebsd-questions@freebsd.org Subject: Re: closing port 25 & 111 Message-ID: <20000511134441.B1181@jonc.ntdns.wilsonandhorton.co.n> References: <22776964.958008622932.JavaMail.imail@ants.excite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <22776964.958008622932.JavaMail.imail@ants.excite.com>; from alanux@excite.com on Wed, May 10, 2000 at 06:30:22PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? sendmail keeps port 25 open, and portmap keeps 111. Use sockstat(1) for any unidentifiable ports. -- Jonathan Chen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message