l 2: add ts3.nix
This commit is contained in:
parent
f171c53dd8
commit
f18a958ce5
19
lass/2configs/ts3.nix
Normal file
19
lass/2configs/ts3.nix
Normal file
@ -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"; }
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user