summaryrefslogtreecommitdiffstats
path: root/lass/2configs/ts3.nix
blob: d0cfdf478842e44cbc2619dfb0bd583ef54c4118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"; }
  ];
}