Skip to content
Snippets Groups Projects
Commit c4b984ae authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

IPv6 addresses != IPv4 addresses

parent 6498bfce
No related branches found
No related tags found
No related merge requests found
......@@ -20,12 +20,12 @@
-A INPUT -p tcp -m tcp --dport {{ ssh.port }} -m conntrack --ctstate NEW -m limit --limit 10 -j ACCEPT
{% if iptables_forward_custom is defined %}
{% if ip6tables_forward_custom is defined %}
##############################################################################
### FORWARD
##############################################################################
{{ iptables_forward_custom }}
{{ ip6tables_forward_custom }}
{% endif %}
##############################################################################
......@@ -38,7 +38,7 @@
################################################################################
### SERVICES
################################################################################
{% for entry in iptables_input %}
{% for entry in ip6tables_input %}
-A INPUT -p {{ entry.protocol|default("tcp", true) }}{% if entry.source is defined %} --src {{ entry.source }}{% endif %} --dport {{ entry.port }} {% if entry.protocol == "tcp"%} -m conntrack --ctstate NEW {% endif %} {% if entry.comment is defined %} -m comment --comment "{{ entry.comment }}" {% endif %} -j ACCEPT
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment