2015-11-01 18:57:05 +00:00
|
|
|
{ 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
|
2019-10-14 13:40:59 +00:00
|
|
|
{ predicate = "-p tcp --dport 30033"; target = "ACCEPT"; }
|
|
|
|
{ predicate = "-p udp --dport 30033"; target = "ACCEPT"; }
|
2015-11-01 18:57:05 +00:00
|
|
|
##query port
|
|
|
|
#{ predicate = "-p tcp --dport 10011"; target = "ACCEPT"; }
|
|
|
|
#{ predicate = "-p udp --dport 10011"; target = "ACCEPT"; }
|
|
|
|
];
|
|
|
|
}
|