lass 2 steam: move config to new firewall

This commit is contained in:
lassulus 2015-09-05 11:56:49 +02:00
parent 954f122d38
commit 29c5c49131

View File

@ -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 ];
]; };
}; };
} }