lass 2 steam: move config to new firewall
This commit is contained in:
parent
954f122d38
commit
29c5c49131
@ -16,15 +16,14 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
steam
|
steam
|
||||||
];
|
];
|
||||||
networking.firewall = {
|
lass.iptables = {
|
||||||
allowedUDPPorts = [
|
tables = {
|
||||||
27031
|
filter.INPUT.rules = [
|
||||||
27036
|
{ predicate = "-p tcp --dport 27031"; target = "ACCEPT"; }
|
||||||
];
|
{ predicate = "-p tcp --dport 27036"; target = "ACCEPT"; }
|
||||||
allowedTCPPorts = [
|
{ predicate = "-p udp --dport 27031"; target = "ACCEPT"; }
|
||||||
27036
|
{ predicate = "-p udp --dport 27036"; target = "ACCEPT"; }
|
||||||
27037
|
];
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user