summaryrefslogtreecommitdiffstats
path: root/2configs/lass/git-repos.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-07-17 10:30:41 +0200
committerlassulus <lass@aidsballs.de>2015-07-18 14:11:11 +0200
commit7c3ba212ef9fe767a4618f079917938131e64a6c (patch)
tree0adabed51b34607dc4b0b65d72c8eb10a200f217 /2configs/lass/git-repos.nix
parent0bb58a24c54a5c3236f0ef55364d64eca8550a83 (diff)
2 lass.git-repos: open port 80 on retiolum
Diffstat (limited to '2configs/lass/git-repos.nix')
-rw-r--r--2configs/lass/git-repos.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/2configs/lass/git-repos.nix b/2configs/lass/git-repos.nix
index 94ab6317d..c0c305b85 100644
--- a/2configs/lass/git-repos.nix
+++ b/2configs/lass/git-repos.nix
@@ -121,10 +121,20 @@ in
{
imports = [
../../3modules/tv/git.nix
+ ../../3modules/lass/iptables.nix
];
tv.git = {
enable = true;
inherit repos rules users;
};
+
+ lass.iptables = {
+ tables = {
+ filter.INPUT.rules = [
+ { predicate = "-i retiolum -p tcp --dport 80"; target = "ACCEPT"; }
+ ];
+ };
+ };
+
}