From owner-freebsd-questions Wed Jan 31 19:49:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-64-193-218-89.telocity.com (dsl-64-193-218-89.telocity.com [64.193.218.89]) by hub.freebsd.org (Postfix) with SMTP id 6492537B4EC for ; Wed, 31 Jan 2001 19:49:31 -0800 (PST) Received: (qmail 16501 invoked by uid 1000); 1 Feb 2001 03:47:11 -0000 Date: Wed, 31 Jan 2001 21:47:11 -0600 From: Lucas Bergman To: Saifuddin Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD-Config. Message-ID: <20010131214711.B12876@billygoat.slb.to> Reply-To: lucas@slb.to References: <004701c08bf8$b9ede5e0$0364a8c0@wssaif1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <004701c08bf8$b9ede5e0$0364a8c0@wssaif1>; from sfdn@indo.net.id on Thu, Feb 01, 2001 at 09:43:14AM +0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have questions below: Okay. > 1. How to install HP Jet-Direct (all models) to network using > FreeBSD O/S. I have ever install this devices at my network using > Windows NT, and using its Tool (Jet Admin under windows) Read the `Printing' chapter of the FreeBSD Handbook. http://www.freebsd.org/handbook/printing.html To set up one of those printers, set it up like a normal network printer on a remote host, but put `rm=host' where `host' is the hostname of the printer, and `rp=raw' in the /etc/printcap entry. The Linux printing HOWTO describes this in excruciating detail, and all the information translates to FreeBSD verbatim. > 2. Is FreeBSD has MASQUERADE function? You mean `IP masquerading' like in Linux? It's more generally known as network address translation (NAT). And, yes, FreeBSD does it through a program called `natd'. Type `man natd' for more information. > 3. I have two machines using FreeBSD, one for Firewall and other for > Mail-Server. How to configure, in order all messages received > (filtered) by Firewall will "only" passed thru Mail-Server machines? Check out port forwarding with natd. > 4. Everytime I have installed FreeBSD, I haven't see file rc.local, > what happens?, should I create manually? You can if you like. The more `modern' way of doing things is to create executable scripts /usr/local/etc/rc.d/*.sh, each of which starts a service. Creating your own /etc/rc.local still works, though. > 5. If I have written the "script" which will be used as isolator for > attachment file email has infected virus: Where I must placed this > script, and how to call this script? I have no idea. Give us some more information about what you want to happen, and maybe we can give you some more specific help. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message