Subject: Re: Printing Problem
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: =?iso-8859-1?q?lcs=20freebsd?= <lcsfreebsd@yahoo.com.sg>
List: netbsd-help
Date: 03/28/2003 12:15:07
--0-1011310035-1048824907=:33860
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


My problem is solved.
Earlier, I don't know the printer port name that I'm supposed to use. Now I knew it, so I added the following line to /etc/ipnat.conf in my firewall2:
    rdr ex0 port fw_ip_addr/32 port 9100 -> network_printer_ip_addr port 9100 tcp
All my clients in domain1 are using OS Win2K, so I added new printer with new port name and finally when I printed a test page, there's no error.
Thanks for the advice.
 Manuel Bouyer <bouyer@antioche.eu.org> wrote:On Fri, Mar 21, 2003 at 04:09:52PM +0800, lcs freebsd wrote:
> 
> Hi, I'm a newbie in netbsd.
> 
> My problem is I have two firewalls installed with NetBSD-1.6 in my network. All computers behind these firewalls are using NAT to connect to the Internet.
> 
> I have a network printer in domain1 (HP LaserJet 2200dn), but I don't know how to configure my workstations in domain2 to print to the printer in domain1.

What OS are the client running ? what print protocol are you using ?
Maybe the easiest would be to setup a print spooler on the
NAT box to which the printer is connected. See lpd for example,
or the cups package, or the samba package.

-- 
Manuel Bouyer 
NetBSD: 24 ans d'experience feront toujours la difference
--


 Yahoo! Biztools
- Promote your business from just $5 a month!
--0-1011310035-1048824907=:33860
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<P>My problem is solved.
<P>Earlier, I don't know the printer port name that I'm supposed to use. Now I knew it, so I added the following line to <FONT face="Courier New">/etc/ipnat.conf </FONT><FONT face="Times New Roman"><FONT size=4>in my</FONT> </FONT>firewall2:
<P>&nbsp;&nbsp;&nbsp; <FONT face="Courier New">rdr ex0 port fw_ip_addr/32 port 9100 -&gt; network_printer_ip_addr port 9100 tcp</FONT>
<P><FONT face="Times New Roman" size=4>All my clients in domain1 are using OS Win2K, so I added new printer with new port name and finally when I printed a test page, there's no error.</FONT>
<P><FONT face="Times New Roman">Thanks for the advice.</FONT>
<P>&nbsp;<B><I>Manuel Bouyer &lt;bouyer@antioche.eu.org&gt;</I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Fri, Mar 21, 2003 at 04:09:52PM +0800, lcs freebsd wrote:<BR>&gt; <BR>&gt; Hi, I'm a newbie in netbsd.<BR>&gt; <BR>&gt; My problem is I have two firewalls installed with NetBSD-1.6 in my network. All computers behind these firewalls are using NAT to connect to the Internet.<BR>&gt; <BR>&gt; I have a network printer in domain1 (HP LaserJet 2200dn), but I don't know how to configure my workstations in domain2 to print to the printer in domain1.<BR><BR>What OS are the client running ? what print protocol are you using ?<BR>Maybe the easiest would be to setup a print spooler on the<BR>NAT box to which the printer is connected. See lpd for example,<BR>or the cups package, or the samba package.<BR><BR>-- <BR>Manuel Bouyer <BOUYER@ANTIOCHE.EU.ORG><BR>NetBSD: 24 ans d'experience feront toujours la difference<BR>--</BLOCKQUOTE><BR><BR><p><img src=http://sg.yimg.com/i/sg/icons/16/yp.gif><b> <a h!
ref="http://sg.rd.yahoo.com/mail/tagline/?http://sg.biztools.yahoo.com" target=_blank>Yahoo! Biztools</a></b><br><small>- Promote your business from just $5 a month!</small>
--0-1011310035-1048824907=:33860--