URL Alias issue

Started by va176thunderbolt, February 04, 2018, 03:46:42 AM

Previous topic - Next topic
Trying to setup a URL alias by following the directions in the wiki 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?
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD

Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic

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).
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD

Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic

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.
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member