- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Which ports need to be open through firewall??
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2002 10:40 AM
тАО06-02-2002 10:40 AM
Which ports need to be open through firewall??
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2002 11:43 AM
тАО06-02-2002 11:43 AM
Re: Which ports need to be open through firewall??
HP Jetdirect adapters use the following ports to communicate with hosts :
-> 515 when emulating LPD/LPR printing system
-> 9100 for native HP Network Printing (HPNP) protocol
In some circumstances, you may need to open also 9101 and 9102 ports (for example if you have a multi-port Jetdirect box).
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2002 01:27 PM
тАО06-02-2002 01:27 PM
Re: Which ports need to be open through firewall??
202.X.Y.Z is external host ip
printer ip is 192.168.3.198, pls give comment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 01:58 AM
тАО06-03-2002 01:58 AM
Re: Which ports need to be open through firewall??
If I were you, I would accept also the traffic from 192.168.3.198:9100/515 to 202.X.Y.Z.
I think that the JetDirect box tries to communicate with the host (for example : True End-Of-Job and Job Recovery features).
If you still have problems, try open all the traffic to and from 515/9100 ports, and log the traffic using iptables. After that, you can have a good idea of what packets go to where.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 02:31 AM
тАО06-03-2002 02:31 AM
Re: Which ports need to be open through firewall??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 07:05 AM
тАО06-03-2002 07:05 AM
Re: Which ports need to be open through firewall??
telnet ip_addy_of_printer 9100
echo port = 7
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 08:04 AM
тАО06-03-2002 08:04 AM
Re: Which ports need to be open through firewall??
To log packets with iptables, insert the following rules at the beginning of your script, just after the line "iptables -P FORWARD DROP" :
iptables -N log_packets
iptables -A log_packets -j LOG --log-prefix FIREWALL
iptables -A INPUT -s 202.X.Y.Z/32 --dport 515 -j log_packets
iptables -A INPUT -s 202.X.Y.Z/32 --dport 9100 -j log_packets
iptables -A INPUT -s 192.168.3.198/32 --sport 515 -j log_packets
iptables -A INPUT -s 192.168.3.198/32 --sport 9100 -j log_packets
Have a look in /var/log/messages, and try to analyse what happens.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 10:36 AM
тАО06-03-2002 10:36 AM
Re: Which ports need to be open through firewall??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 01:24 AM
тАО06-04-2002 01:24 AM
Re: Which ports need to be open through firewall??
I can telnet IP only to my printer through firewall,
but cannot telnet ip with port 9100 to my printer.
Here is my firewall with NAT
"External_Host_Real_ip" is the real ip of external host .
"Printer_Real_ip" is my assign to my JetDirect 's real ip.
After NAT of printer's ip is "Virtual_Printer_ip".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2004 02:42 PM
тАО03-21-2004 02:42 PM
Re: Which ports need to be open through firewall??
Destination port is 9100. This works as a charm if I telnet from the router-box, but not from the outside.
I am forwarding port 9100 9101 and 9102 into the printer.
I am using "Arno's iptables" script on the routerbox to administer the iptables rules.
I am also "weak" with iptables, therefore I use this script to ease the administration.
Any input on this issue would be greatly appreciated. The branch office I am setting this up for needs this to work for a new economy system that needs print-access.