From 7c3ba212ef9fe767a4618f079917938131e64a6c Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 17 Jul 2015 10:30:41 +0200 Subject: 2 lass.git-repos: open port 80 on retiolum --- 2configs/lass/git-repos.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '2configs/lass') 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"; } + ]; + }; + }; + } -- cgit v1.2.3