summaryrefslogtreecommitdiffstats
path: root/lass/1systems
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-08-26 20:13:36 +0200
committerJörg Thalheim <joerg@thalheim.io>2021-08-26 20:15:03 +0200
commitd2026d3f433c409c8a479f31848cc6c51c8d54c6 (patch)
tree2db4edd22972dec7587863aa7735df8161cde9d2 /lass/1systems
parent6db453c84d00b515abb36a784b0ba1f1e75011e0 (diff)
mic92: allow ipv4 on prism/samba
Diffstat (limited to 'lass/1systems')
-rw-r--r--lass/1systems/prism/config.nix11
1 files changed, 3 insertions, 8 deletions
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 <stockholm/lib>;
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 <stockholm/lib>;
};
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"; }