From c2a3aa8e7992c70c377ee9c56427857d86b78a81 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 8 Jun 2011 15:55:51 +0000 Subject: [PATCH] * Open UDP port 631 in the firewall to allow CUPS to discover printers on the network. svn path=/nixos/trunk/; revision=27399 --- modules/services/printing/cupsd.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/services/printing/cupsd.nix b/modules/services/printing/cupsd.nix index b6dff75ed81..a5c0bea2713 100644 --- a/modules/services/printing/cupsd.nix +++ b/modules/services/printing/cupsd.nix @@ -224,5 +224,8 @@ in ''; + # Allow CUPS to receive IPP printer announcements via UDP. + networking.firewall.allowedUDPPorts = [ 631 ]; + }; }