Le 26/02/2018 à 05:35, Gordon Messmer a écrit :
On 02/25/2018 10:42 AM, François Patte wrote:
> I opened firefox on one computer and miracle: the printer attached to
> the other computer is discovered and cups admin interface asks me if I
> want to add this printer. Nice: the job is easy!!*But* this does not
> work at all!!
If I recall correctly, discovery is a matter of multicast DNS
announcement. Since the source announces the printer, firewall rules
don't need to be adjusted to allow that. However, you do need to adjust
firewall rules to allow incoming IPP connections. Have you done that?
iptables -L
Chain INPUT
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp spt:ipp
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT udp -- anywhere anywhere udp spt:ipp
Chain OUTPUT
ACCEPT tcp -- anywhere anywhere tcp spt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT udp -- anywhere anywhere udp spt:ipp
ACCEPT udp -- anywhere anywhere udp dpt:ipp
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte