Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 08:40:24 +0200
From:      Marc Silver <marcs@draenor.org>
To:        Alan Chan <alanux@excite.com>
Cc:        questions@freebsd.org
Subject:   Re: closing port 25 & 111
Message-ID:  <20000511084024.A369@draenor.org>
In-Reply-To: <22776964.958008622932.JavaMail.imail@ants.excite.com>; from alanux@excite.com on Wed, May 10, 2000 at 06:30:22PM -0700
References:  <22776964.958008622932.JavaMail.imail@ants.excite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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