I think I might have an alias issue with policy based routing. have you found a fix to this?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: dseven on July 05, 2026, 09:20:20 AMQuote from: Burthouse4563 on July 05, 2026, 12:59:23 AMIt's almost like the importer isn't recognizing the delimiting character and is attempting to parse the full line as the UUID
Yes, and the code (if I'm looking in the right place) looks at the header line and chooses the delimiter based on which appears first (comma or semicolon), which is why I asked.
I took your header line and the example line from your earlier post, and it imports fine for me ...
Quote from: dseven on July 04, 2026, 11:27:08 PMQuote from: Burthouse4563 on July 04, 2026, 06:46:16 PMHere's an example rule directly from the export tool from the migration assistant, which throws the same error.
;1;0;0;101;wan;inet;any;lan;0;;any;0;;;;0;0;;;;"LAN to WAN"
What does the first line (the header line) of the CSV file look like? The only way I can see the failure occurring is if the header line is comma separated but the actual data is semicolon-separated, but I can't imagine how that would happen....
Quote from: mschaeffler on July 04, 2026, 03:54:52 PMHi,
Is this only for the Outbound NAT?
What is with Destination NAT?
Thank you
Quote from: meyergru on July 04, 2026, 04:06:42 PMWhere do you want to migrate the destination NAT rules to?
The only reason to migrate "Outbound NAT" to "SNAT" (aka "source NAT") was that this is the more common term. "Destination NAT" is already called correctly.
Quote from: dseven on July 04, 2026, 09:55:49 AMThe UUID can be empty (otherwise it must be a properly formatted one):
https://github.com/opnsense/core/blob/20070de6fca7fc83605c856bd0b84753a86fa7c2/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/ArrayField.php#L334-L348
I wonder if your CSV file somehow got corrupted with unprintable characters, or something. Did you do anything with the file other than let your browser save it during export, then open it for import? Try a different browser maybe?
Edit: ... actually, looking at your error message again, it looks like it's considering the whole line to be the UUID, so parsing the CSV seems to have failed somehow. I still wonder if something happened to corrupt the file...
Edit 2: Oooh, I have a theory - do any of your rules have a comma (,) or semicolon (;) in their description?
Quote from: franco on September 11, 2025, 07:14:58 AMNobody?
Cheers,
Franco
Quote from: nbca2 on September 10, 2025, 04:54:13 PMQuote from: Burthouse4563 on September 10, 2025, 04:43:38 PMQuote from: nbca2 on September 10, 2025, 04:01:48 PMQuote from: Burthouse4563 on September 10, 2025, 03:59:13 PMFranco I applied the hot fix and rebooted and still have empty alias tables.same problem
I think I found part of the problem. I had an alias with URLs in it that were failing to resolve because they didn't have https in front of them. This previously didn't cause an issue on older versions. But disalbing that alias allowed other aliases to populate. So there's an issue if an alias can't populate that it stops updating ones further down the list.
Example error message.
error fetching alias url us.archive.ubuntu.com (Invalid URL 'us.archive.ubuntu.com': No scheme supplied. Perhaps you meant https://us.archive.ubuntu.com?)
you're right, i resolved modifing the type from "url" to "Host/s" in the alias that in Content has "archive.ubuntu.com"
now the command /usr/local/opnsense/scripts/filter/update_tables.py --> {"status": "ok"}
aliases are populated now
Quote from: nbca2 on September 10, 2025, 04:01:48 PMQuote from: Burthouse4563 on September 10, 2025, 03:59:13 PMFranco I applied the hot fix and rebooted and still have empty alias tables.same problem