Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
URL Alias Confusion
« previous
next »
Print
Pages: [
1
]
Author
Topic: URL Alias Confusion (Read 6216 times)
smajor
Jr. Member
Posts: 77
Karma: 10
URL Alias Confusion
«
on:
October 29, 2015, 11:42:35 pm »
Hi all, here is what I'm trying to accomplish. I thought I had it figured out, I suppose I do not.
I have a URL to a list of IPs in CIDR format hosted on a web server. Example of IPs in the list would look like this:
66.249.81.205/32
66.249.81.215/32
66.251.216.0/24
69.1.253.0/24
72.251.244.16/32
In the URL section of Alias, I've tried to add this under both "URL (IP)" and "URL Tables (IP)" [I really don't know what the difference is with these - the full help doesn't explain it nor the the link to the wiki have anything about this].
Whichever I choose, I've tried both, nothing seems to be downloaded (that I can tell) nor can I select the alias when I create a rule - it simply isn't in the list.
Does this feature not work the way I think it works? If it does, what am I doing wrong?
Thanks!
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: URL Alias Confusion
«
Reply #1 on:
October 31, 2015, 01:06:25 pm »
Hi smajor,
The difference between plain IPs/Networks and Table IPs/Networks is that the former is put into the pf.conf directly, while the latter is anchored as an external table (on the files system) so you don't have to reload the the rules file in order to update a table. I would recommend to use tables, they are meant for larger lists, too.
You will have to assign the alias to a rule and apply the config in order for this to work. If this is already the case you can help by providing the file /tmp/rules.debug via PM to take a deeper look if there is a problem with the list update mechanism.
Also make sure you are on the latest version so we don't run into confusion as to what got fixed when, the firewall alias pages have had their fontend and backend reworked recently.
Cheers,
Franco
Logged
smajor
Jr. Member
Posts: 77
Karma: 10
Re: URL Alias Confusion
«
Reply #2 on:
October 31, 2015, 01:58:59 pm »
Thanks, I'm sending you a PM with a little more detail.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
URL Alias Confusion