From owner-freebsd-questions Mon Jul 13 04:06:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA15395 for freebsd-questions-outgoing; Mon, 13 Jul 1998 04:06:35 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cityip.co.za (ns.cityip.co.za [196.25.223.140]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA15379 for ; Mon, 13 Jul 1998 04:06:27 -0700 (PDT) (envelope-from wjv@cityip.co.za) Received: from wjv by ns.cityip.co.za with local (Exim 1.82 #2) id 0yvgPO-0002eV-00; Mon, 13 Jul 1998 13:04:38 +0200 Message-ID: <19980713130438.A10178@cityip.co.za> Date: Mon, 13 Jul 1998 13:04:38 +0200 From: Johann Visagie To: Gurpratap Singh , freebsd-questions@FreeBSD.ORG Subject: Re: ports Mail-Followup-To: Gurpratap Singh , freebsd-questions@FreeBSD.ORG References: <14D2E00E3B35D111B5F500805FBE49CFCABEA0@venus.exodus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <14D2E00E3B35D111B5F500805FBE49CFCABEA0@venus.exodus.net>; from Gurpratap Singh on Thu, Jul 09, 1998 at 01:38:39PM -0700 X-PGP: ftp://ftp.cityip.co.za/users/wjv/pubkey.asc X-URL: http://www.cityip.co.za/~wjv/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 09 Jul 1998 at 13:38 SAT, Gurpratap Singh wrote: > > I have a query, i am running tcp_wrapper7.6 on my system, i have > enteries in my hosts.deny such as. > ALL : ALL > Now would this entry also disallow external users to connect like > telnet server 25(at smtp port). > > How can i achievw this by tcp_wrapper or any other software.I do not > want to buy Firewall software. A very general answer would be: Use ipfw. See the ipfw(8) man page for more info. In general, you'll have to: - compile and install a kernel with ipfw support - edit /etc/rc.firewall to taste - reboot In reality, the process tends to be a bit more complex. ;-) Try the books mentioned in the comments of /etc/rc.firewall -- V Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message