summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
authorChristoph <chris@inferno.nadir.org>2014-09-17 17:30:38 +0200
committerChristoph <chris@inferno.nadir.org>2014-09-17 17:30:38 +0200
commit63783c1dc0a1e1749810162af169f0ffc0a237d5 (patch)
tree424383b748fae8dbd92791582970bb785fdcbe9e /puppet/modules/site_config
parent9cc0f28e9223c76da9cd491d3faa2dd1b18e3fc2 (diff)
allow outgoing port 3142 for apt-cacher proxy
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r--puppet/modules/site_config/templates/ipv4firewall_up.rules.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/modules/site_config/templates/ipv4firewall_up.rules.erb b/puppet/modules/site_config/templates/ipv4firewall_up.rules.erb
index 928a2b31..7bde189f 100644
--- a/puppet/modules/site_config/templates/ipv4firewall_up.rules.erb
+++ b/puppet/modules/site_config/templates/ipv4firewall_up.rules.erb
@@ -18,6 +18,7 @@
-A OUTPUT -p tcp -m state --state NEW,ESTABLISHED --sport <%= @ssh_port %> -j ACCEPT
-A OUTPUT -p tcp -m state --state NEW,ESTABLISHED --dport 80 -j ACCEPT
-A OUTPUT -p tcp -m state --state NEW,ESTABLISHED --dport 443 -j ACCEPT
+-A OUTPUT -p tcp -m state --state NEW,ESTABLISHED --dport 3142 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 123 -j ACCEPT
-A OUTPUT -m limit --limit 5/min -j LOG --log-prefix "iptables denied: " --log-level 7