From owner-freebsd-questions Sun Jul 22 18:32:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 637C337B403 for ; Sun, 22 Jul 2001 18:32:56 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f6N1TEO15191; Sun, 22 Jul 2001 21:29:14 -0400 (EDT) Message-ID: <3B5B7EB5.97355B7@iowna.com> Date: Sun, 22 Jul 2001 21:32:37 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Howard Picken Cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: Repost: Internet Print Protocol References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howard Picken wrote: > I now have to add a Win2K box on the network to handle internet printing > from a couple > of branches we have. > > Hence my question. Which files do I need to change to allow external access > to a specific > internal IP address. First, you'll need to know what TCP ports are required for printing. I don't know what's needed for W2K, but I'm guessing it's the standard netbios ports, look in /etc/services, I believe they're 139 & 135. If you're doing address translation, you'll have to add static routes, read "man natd" or "man ipnat" for information on how to do this (depending on which one is configured to use) If you're not doing nat, find out whether you're using ipfirewall or ipfw, /etc/rc.conf should have configuration information to get you started. Depending on which one you use, the steps will vary, so do a little research and post again with more details if you get stuck. However, you should be able to read through "man ipfw" or "man ipfilter" to get started. -Bill -- It may be that true happiness is nothing more than the ability to *always* know the right thing to say at the right time, whereas true misery is the state of perpetually saying to oneself, "What I *should* have said was..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message