diff options
author | lassulus <lass@aidsballs.de> | 2015-07-17 10:30:41 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-07-18 14:11:11 +0200 |
commit | 848debcc37ff429eb97b8ef60389d689dd905fcb (patch) | |
tree | 0adabed51b34607dc4b0b65d72c8eb10a200f217 /2configs/lass | |
parent | 3940777159d4900a67981842b82b5f7f677cb032 (diff) |
2 lass.git-repos: open port 80 on retiolum
Diffstat (limited to '2configs/lass')
-rw-r--r-- | 2configs/lass/git-repos.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2configs/lass/git-repos.nix b/2configs/lass/git-repos.nix index 94ab631..c0c305b 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"; } + ]; + }; + }; + } |