diff --git a/roles/iptables/templates/iptables.rules.j2 b/roles/iptables/templates/iptables.rules.j2 index 487fe7a..9ad3ac4 100644 --- a/roles/iptables/templates/iptables.rules.j2 +++ b/roles/iptables/templates/iptables.rules.j2 @@ -19,6 +19,7 @@ {% endif %} {% if syncthing.open_ports is defined and syncthing.open_ports == True %} -A INPUT -p tcp -m tcp --dport 22000 -j ACCEPT +-A INPUT -p udp -m udp --dport 22000 -j ACCEPT -A INPUT -p udp -m udp --dport 21027 -j ACCEPT {% endif %} COMMIT