-
You must provide a valid URL. Could not fetch usable data.
http://www.youtube.com seems to be valid URL
DNS:(override off)
google & opendns2.0-BETA4 (i386)
built on Sun Sep 26 20:34:55 EDT 2010
FreeBSD 8.1-RELEASE-p1 -
That is not what a URL alias is for.
A URL alias is pointed to a file that contains IP or IP/CIDR alias data, it does not refer to a website URL to block/pass.
-
Ops now I'm confused.
Enter a single URL containing a large number of IPs and/or Subnets. After saving pfSense will download the URL and create a table file containing these addresses. This will work with large numbers of addresses (30,000+) or small numbers
name:youtube
type:URL Table
URL:http://youtube.com
Update Freq:32system log
Oct 12 21:36:01 php: : There were error(s) loading the rules: no IP address found for persist file "/var/db/aliastables/youtube.txt" Oct 12 21:36:01 php: : New alert found: There were error(s) loading the rules: no IP address found for persist file "/var/db/aliastables/youtube.txt" Oct 12 21:36:01 php: : The command '/sbin/pfctl -o basic -f /tmp/rules.debug' returned exit code '1', the output was 'no IP address found for
-
Read the note again. It says enter a URL containing a large number of IPs and/or subnets โ nowhere in that note does it refer to blocking/passing that URL.
It says it will download the URL and create a table of the IPs and/or Subnets contained in the data downloaded from that URL.
I can add some more text to that note to make it clearer, but you cannot use "http://www.google.com" in any alias type in pfSense and expect it to work.
It's meant to work on a file like this:
http://files.pfsense.org/US_cidr.txt -
Ah ok I get it.
I thought this purpose is to take the dynamic DNS ip's and update it frequently. -
No, for that just use a normal host or network alias and type in the hostname, www.google.com (no http://). The hostname will be resolved and updated internally periodically.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.