Date: Tue, 7 Aug 2001 14:57:16 -0700 (PDT) From: Agemo Noraj <jaron@af-inet.net> To: Thorel <joe.lawrence@business-aid.net> Cc: <freebsd-newbies@FreeBSD.ORG> Subject: Re: open ports Message-ID: <Pine.BSF.4.33.0108071452010.32575-100000@mail.af-inet.net> In-Reply-To: <3B7028D0.85D401D5@business-aid.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0108071452010.32575-100000>