URL Table
-
Hi!
What are I'm doing wrong?Created one file: /usr/local/www/ips.txt with a list of networks (200.200.0.0/24 etc.)
Created one URLs Table Alias http://10.0.0.1/ips.txt
The command "pfctl -t iplist -T show" results in: "pfctl: Table does not exist"
My /var/db/aliastables/iplist.txt are:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<title>400 - Bad Request</title>
400 - Bad Request
Thanks.
-
Created one URLs Table Alias http://10.0.0.1/ips.txt
Something simple perhaps like httpS://10.0.0.1/ips.txt
Have you tried hosting the file on a separate webserver to begin with as I assume you are trying to host it from within pfsense?
-
I want to host the IPs list on pfsense
If I click on http://10.0.0.1/ips.txt I get my list:
5.10.67.0/24
94.186.192.0/24
174.36.154.0/24
192.69.16.0/24
192.69.17.0/24
192.69.18.0/24
192.69.19.0/24
208.43.37.0/24
208.70.88.0/24
208.70.89.0/24
208.70.90.0/24
208.70.91.0/24
etc….. -
If I click on http://10.0.0.1/ips.txt I get my list:
Which interface is pfsense supposed to use to access the list internally then? You can use 10.0.0.1 as thats the pfsense interface to your machine configuring pfsense, but from pfsense perspective, how would it cope with the routing?
I didnt think this was possible when I tried 4 or 5 years ago, which is why I suggested hosting it on another website. Most windows PC will have IIS installed or available to install.
Saying that if it is possible for pfsense to access it from within itself I'd certainly like to know how. :)
-
hi,
In pfsense console:
fetch http://10.0.0.1/ips.txt
ips.txt was downloaded.
-
hi,
In pfsense console:
fetch http://10.0.0.1/ips.txt
ips.txt was downloaded.
Thanks. That gives me some interesting thoughts. ;)
-
hello,
i have the same problem .. do you resolved?
thanks.hi,
In pfsense console:
fetch http://10.0.0.1/ips.txt
ips.txt was downloaded.
-
It was one lab pfsense,
On boot some times it load the ip.txt files and some times no.
I´m not using that lab anymore.