summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-11-01 19:57:05 +0100
committerlassulus <lass@aidsballs.de>2015-11-01 19:57:05 +0100
commitf18a958ce57d2a91af9ba547cbf8cb21e19b99f8 (patch)
tree611eb9816d017075f38e2f61cdf0038e4a989fc6 /lass/2configs
parentf171c53dd883f57bd0acb6cc6bf0dd1b90ce83ef (diff)
l 2: add ts3.nix
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/ts3.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/lass/2configs/ts3.nix b/lass/2configs/ts3.nix
new file mode 100644
index 000000000..5b92d0919
--- /dev/null
+++ b/lass/2configs/ts3.nix
@@ -0,0 +1,19 @@
+{ config, ... }:
+
+{
+ services.teamspeak3 = {
+ enable = true;
+ };
+
+ krebs.iptables.tables.filter.INPUT.rules = [
+ #voice port
+ { predicate = "-p tcp --dport 9987"; target = "ACCEPT"; }
+ { predicate = "-p udp --dport 9987"; target = "ACCEPT"; }
+ ##file transfer port
+ #{ predicate = "-p tcp --dport 30033"; target = "ACCEPT"; }
+ #{ predicate = "-p udp --dport 30033"; target = "ACCEPT"; }
+ ##query port
+ #{ predicate = "-p tcp --dport 10011"; target = "ACCEPT"; }
+ #{ predicate = "-p udp --dport 10011"; target = "ACCEPT"; }
+ ];
+}