From 561046779758d2db6af5609b0a66aed134d86275 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 5 Mar 2023 13:11:57 +0100 Subject: ... --- hosts/vidhar/printing/default.nix | 50 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'hosts/vidhar/printing/default.nix') diff --git a/hosts/vidhar/printing/default.nix b/hosts/vidhar/printing/default.nix index d844823b..55c55b37 100644 --- a/hosts/vidhar/printing/default.nix +++ b/hosts/vidhar/printing/default.nix @@ -78,10 +78,56 @@ in { listenAddresses = [ "*:631" ]; - allowFrom = [ "all" ]; - extraConf = '' + logLevel = "all"; + extraConf = mkForce '' ServerName printing ServerAlias 10.141.5.1 2a03:4000:52:ada:5::1 printing.vidhar.yggdrasil printing.vidhar.lan.yggdrasil + + DefaultEncryption Never + + + Order allow,deny + Allow from 10.0.0.0/8 + Satisfy any + + + + Order allow,deny + Allow from 10.0.0.0/8 + Satisfy any + + + + Order allow,deny + Allow from 10.0.0.0/8 + Satisfy any + + + + + Order allow,deny + Allow from 10.0.0.0/8 + Satisfy any + + + + Order allow,deny + Allow from 10.0.0.0/8 + Satisfy any + + + + Order allow,deny + Allow from 10.0.0.0/8 + Satisfy any + + + + Order allow,deny + Allow from 10.0.0.0/8 + Satisfy any + + ''; }; -- cgit v1.2.3