Trying to setup a URL alias by following the directions in the wiki https://wiki.opnsense.org/manual/aliases.html (https://wiki.opnsense.org/manual/aliases.html). I created the two SPAMHAUS aliases. I checked /var/db/aliases and the files are getting created for the aliases and are populating with data.
When I try to create a new rule on any interface, when I select source, the aliases do not show up. I have created ip aliases, and they do show up and allow me to select them.
I've never used a URL alias, so I don't know if it used to work and now doesn't.
What can I do to further troubleshoot the issue?
Let me try to help.
- So you have data in /var/db/aliastables/spamhaus.txt correct?
- You created an alias with Type "URL Table (IPs)" correct?
- You also have data in pfTables correct? (Firewall > Diagnostics > pfTables)
I just tried it now and everything is working for me. I can select the alias name "spamhaus" in the source alias list.
Yes I have data in /var/db/aliastables
Yes - I created a alias of type "URL Table"
Yes - it does show up in firewall/Diagnostics/pftables
No - it is not an option available to select when I am adding a new firewall rule (or when I edit an existing rule).
Do you have errors in the system logs, something about dhcpv6 clients and memory? Don't remember the exact one.
Anyway, if you do, you'll have to increase the default "Firewall Maximum Table Entries" from "Firewall: Settings: Advanced". Try, let's say, 300000.