Files
ansible-role-csf/templates/csf.dyndns.j2
Aaron Guise d4366fef2a
Some checks failed
CI / lint (push) Failing after 2m15s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped
feat: Initial Project 🎉
2024-08-20 11:11:35 +12:00

33 lines
1.2 KiB
Django/Jinja

###############################################################################
# Copyright 2006-2018, Way to the Web Limited
# URL: http://www.configserver.com
# Email: sales@waytotheweb.com
###############################################################################
# The following FQDN's will be allowed through the firewall. This is controlled
# by lfd which checks the DNS resolution of the FQDN and adds the ip address
# into the ALLOWDYNIN and ALLOWDYNOUT iptables chains. lfd will check for IP
# updates every DYNDNS seconds if set.
#
# If the FQDN has multiple A records then all of the IP addresses will be
# processed. If IPV6 is enabled and the perl module Socket6 from cpan.org is
# installed, then all IPv6 AAAA IP address records will also be allowed.
#
# Only list fully qualified domain names (FQDN's) in this file, either on their
# own to allow full access, or using Advanced Allow/Deny Filters (see
# readme.txt)
#
# BEGIN GENERAL DYNDNS ALLOW LIST
{% for fqdn in csf_dyndns | default([]) %}
{{ fqdn }}
{% endfor %}
# END GENERAL DYNDNS ALLOW LIST
{% if csf_dyndns_host is defined %}
# BEGIN HOST SPECIFIC DYNDNS ALLOW LIST
{% for fqdn in csf_dyndns_host %}
{{ fqdn }}
{% endfor %}
# END HOST SPECIFIC DYNDNS ALLOW LIST
{% endif %}