Connecting to a Zeroconfig/Avahi printer
Bill Davidsen
davidsen at tmr.com
Tue May 15 21:25:39 UTC 2012
Reindl Harald wrote:
>
>
> Am 15.05.2012 16:24, schrieb Steven Stern:
>> On 05/15/2012 08:57 AM, Paul W. Frields wrote:
>>> On Mon, May 14, 2012 at 11:25:47PM +0200, Reindl Harald wrote:
>>>>
>>>>
>>>> Am 14.05.2012 23:22, schrieb Steven Stern:
>>>>> I have a really nice HP printer that's currently connected via USB cable
>>>>> to this system. I need to move it out of cable range. My OS/X and iOS
>>>>> devices are able to find it and print to it using the magic of Bonjour.
>>>>> Is there a way for Fedora to use it via Avahi, rather than ipp and
>>>>> giving the printer a fixed IP address?
>>>>
>>>>
>>>> http://localhost:631/
>>>>
>>>> CUPS does find network-printers via avahi
>>>
>>> Ensure that your Fedora client system's firewall has port 5353/udp
>>> (mDNS) and 631/udp (IPP client) open, and things should generally Just
>>> Work(tm).
>>>
>>
>> It seems to be more than 5353 and 631. With the iptables service
>> running, I don't see the printer in CUPS. If I stop the iptables
>> service, I do. What's missing here?
>>
>
> it is only 5353 used BUT UDP, 100% sure and no there is no need
> to open jetdirect INCOMING or other voodo
>
> avahi works on UDP and your UDP rule looks strange
> what is the "224.0.0.251" for?
>
Isn't that multicast? Can't conveniently look it up at the moment, but
that rings a bell.
> you need open ports FROM YOU LOCAL NETWORK like 10.0.0.0/24
> your other rules looking partly dangerous and way too wide open
>
>> ACCEPT tcp -- anywhere anywhere state NEW
>> tcp dpt:mdns
>>
>> ACCEPT udp -- anywhere 224.0.0.251 state NEW
>> udp dpt:mdns
>
>
>
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the users
mailing list