From a85999dbacc7d6a26332955e6518ae495797e85e Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sun, 4 Mar 2018 17:50:19 +0100 Subject: install vnstat --- roles/configure_iptables/templates/ip6tables.rules | 2 ++ roles/configure_iptables/templates/iptables.rules | 2 ++ 2 files changed, 4 insertions(+) (limited to 'roles/configure_iptables/templates') diff --git a/roles/configure_iptables/templates/ip6tables.rules b/roles/configure_iptables/templates/ip6tables.rules index d8cf4ea..054946c 100644 --- a/roles/configure_iptables/templates/ip6tables.rules +++ b/roles/configure_iptables/templates/ip6tables.rules @@ -36,6 +36,8 @@ COMMIT # dns -A INPUT -p tcp -m tcp --dport 53 -j ACCEPT -A INPUT -p udp -m udp --dport 53 -j ACCEPT +# nginx +-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT # ntp -A INPUT -p udp -m udp --dport 123 -j ACCEPT # fastd diff --git a/roles/configure_iptables/templates/iptables.rules b/roles/configure_iptables/templates/iptables.rules index be2965d..3519924 100644 --- a/roles/configure_iptables/templates/iptables.rules +++ b/roles/configure_iptables/templates/iptables.rules @@ -40,6 +40,8 @@ COMMIT {% for site in sites %} -I INPUT -i bat{{ site.name }} -p udp --dport 67:68 --sport 67:68 -j ACCEPT {% endfor %} +# nginx +-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT # ntp -A INPUT -p udp -m udp --dport 123 -j ACCEPT # fastd -- cgit v1.2.3-54-g00ecf