summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-05-31 23:10:53 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:00 +0200
commitacb068b4a5af0654d21c2830655b7c6156a2b845 (patch)
treee39d16f7bfa6c631271a9a5bf5720fdc0ea9f5ca /roles/common/templates/etc
parente63885bcc0d46bfe58a32fcfc1d02daae8735929 (diff)
Configure ikiwiki (website + wiki).
Diffstat (limited to 'roles/common/templates/etc')
-rw-r--r--roles/common/templates/etc/iptables/services.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/templates/etc/iptables/services.j2 b/roles/common/templates/etc/iptables/services.j2
index 8812537..c729e1a 100644
--- a/roles/common/templates/etc/iptables/services.j2
+++ b/roles/common/templates/etc/iptables/services.j2
@@ -35,32 +35,32 @@ out tcp {{ postfix_instance.lists.port }}
{% if groups.all | difference([inventory_hostname]) %}
in tcp {{ postfix_instance.out.port }}
{% endif %}
out tcp 25 # SMTP
{% else %}
out tcp {{ postfix_instance.out.port }}
{% endif %}
{% if 'IMAP' in group_names %}
in tcp 993 # IMAPS
in tcp 4190 # ManageSieve
{% endif %}
{% if 'MDA' in group_names and 'MX' not in group_names %}
in tcp {{ postfix_instance.IMAP.port }}
{% endif %}
{% if 'lists' in group_names and 'MX' not in group_names %}
in tcp {{ postfix_instance.lists.port }}
{% endif %}
{% if 'MSA' in group_names %}
in tcp 587 # SMTP-AUTH
{% endif %}
-{% if 'webmail' in group_names or 'lists' in group_names or 'website' in group_names %}
+{% if 'webmail' in group_names or 'lists' in group_names or 'wiki' in group_names %}
in tcp 80,443 # HTTP/HTTPS
{% endif %}
{% if 'webmail' in group_names and 'IMAP' not in group_names %}
out tcp 993 # IMAP
out tcp 4190
{% endif %}
{% if 'LDAP-provider' in group_names %}
out tcp 11371 # HKP
out tcp 43 # WHOIS
{% endif %}