From d2026d3f433c409c8a479f31848cc6c51c8d54c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 26 Aug 2021 20:13:36 +0200 Subject: mic92: allow ipv4 on prism/samba --- lass/1systems/prism/config.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'lass/1systems') diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix index 1ef4637e3..cbaf127c8 100644 --- a/lass/1systems/prism/config.nix +++ b/lass/1systems/prism/config.nix @@ -391,8 +391,9 @@ with import ; extraConfig = '' workgroup = WORKGROUP netbios name = PRISM - server string = PRISM - hosts allow = 42::/16 + server string = prism + hosts allow = 42::/16 10.243.0.0/16 + interfaces = tinc.retiolum map to guest = Bad User max log size = 50 dns proxy = no @@ -414,14 +415,8 @@ with import ; }; krebs.iptables.tables.filter.INPUT.rules = [ - # netbios - { predicate = "-i retiolum -p tcp --dport 139"; target = "ACCEPT"; } # smbd { predicate = "-i retiolum -p tcp --dport 445"; target = "ACCEPT"; } - # netbios-ns - { predicate = "-i retiolum -p udp --dport 137"; target = "ACCEPT"; } - # nmbd - { predicate = "-i retiolum -p udp --dport 138"; target = "ACCEPT"; } { predicate = "-i retiolum -p tcp --dport 111"; target = "ACCEPT"; } { predicate = "-i retiolum -p udp --dport 111"; target = "ACCEPT"; } -- cgit v1.2.3