Configure CSF to whitelist external hostnames?

beansbaxter

Verified User
Joined
Mar 17, 2004
Messages
213
Location
WA
I understand how to whitelist IP addresses within CSF, but how can I whitelist external domains/hostnames?

For example, I want to whitelist a wildcard subdomain for a specific hostname:
Code:
*.domain.com

Is this possible?

Running the latest version of DA with CSF.
 
Look at this file csf.dyndns - you can whitelist only specific subdomains

# 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)
 
Back
Top