Operating System - HP-UX
1834484 Members
3855 Online
110067 Solutions
New Discussion

remote printing over Firewall

 
SOLVED
Go to solution
Anonymous
Not applicable

remote printing over Firewall

Hello,

I am trying to configure a firewall on my site and I have a problem with my HPUX servers (N4000 HPUX11.00). I know that there are some remote prints from other sites (over the WAN) to this server and I can not find the port and protocol used by UNIX in this case.

thank you for help

Best regards


7 REPLIES 7
harry d brown jr
Honored Contributor

Re: remote printing over Firewall

Port 515??

Get lsof and find out for sure. http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/

live free or die
harry
Live Free or Die
doug mielke
Respected Contributor

Re: remote printing over Firewall

Make sure you research jetdirect vs normal (NON HP ) Printing.
Jetdirect, which includes I think, all HP network printers, use different ports than the rest of the printers out there.
Geoff Wild
Honored Contributor
Solution

Re: remote printing over Firewall

You need 515 (spooler) , 9100, 9101,9102 (HP Jet Admin)....

We print to Europe from Canada through Firewalls...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Anonymous
Not applicable

Re: remote printing over Firewall

Thank you,

I do not understand something,we use HP JetAdmin on our server when I make a "netstat -an" I can not see the ports 9101 9102 and 9103?

I think this ports are used when you print directly to the remote printer but in my case I use a remote HPUX server to receive and send the request to the remote printer.

Is it the same ports?

Thank you again.
Geoff Wild
Honored Contributor

Re: remote printing over Firewall

9100 (9101, 9102) is only needed if you print directly...and if you want to use utlities like hpnpadmin to check printer status...

In your case, 515 should be all you need...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven Sim Kok Leong
Honored Contributor

Re: remote printing over Firewall

Hi,

If you configure remote printers (NOT network printers), the port you need to open up is just TCP/515 outbound from your printing client system to the printer server.

To aid troubleshooting if the printer server is listening to connections (in addition to using lpstat command), perform a telnet to the port:

client# telnet printserver 515

If connection is established, the printserver is accepting connections because lpd is running.

If you see "Trying..." or "Connection refused", your firewall is either dropping or rejecting the connection respectively.

Hope this helps. Regards.

Steven Sim Kok Leong
Anonymous
Not applicable

Re: remote printing over Firewall

thank you all,

I have all the informations I need!!

Thank you again

Best regards