Alias Creation Dashboard Errors

Started by Jose, September 28, 2025, 11:59:33 PM

Previous topic - Next topic
September 28, 2025, 11:59:33 PM Last Edit: September 30, 2025, 01:37:14 AM by Jose
Hello I'm not sure if this was already posted, but I'm having this issue whenever I create Ports/Host Aliases:

Sample Screenshots:
You cannot view this attachment.
You cannot view this attachment.

My solution is to create the content one by one, some times it works with two or more ports/hosts.
Regards
OPNSense on Bhyve VM set with 2CPU, 4GB-RAM, 120GB-ZFS, Transparent Filtering Bridge(TFB).
Intel i5-2390T with 32GB-RAM and Intel I350-T4(2-Ports Passthrough for OPNsense + VirtIO).
System running Jails, MEDIA/SMB/NFS/SSH servers etc.., ZFS-Mirrors for boot and storage.

What do you mean by "one by one"? Are you pasting multiple entries at once? That works only if

- they are on a simgle line
- comma separated
- without any extra spaces

HTH,
Patrick
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

September 29, 2025, 07:51:32 AM #2 Last Edit: September 30, 2025, 01:38:10 AM by Jose
Quote from: Patrick M. Hausen on September 29, 2025, 06:55:21 AMWhat do you mean by "one by one"? Are you pasting multiple entries at once? That works only if

- they are on a simgle line
- comma separated
- without any extra spaces

HTH,
Patrick

Hello @Patrick M. Hausen, I meant entering each IP/Port one by one unless I got lucky and the GUI accept/recognize more than one "correct" entry.
Also yes separating them by commas automatically converts them in mini bread-scrums then when click on the last entry one or more entry does fail like the below screenshot:

You cannot view this attachment.

Indeed the "10.0.0.300" is a correct alias entry, maybe something with the validation check/match I dunno? as I haven't dig more in depth in this regards.

EDIT: Sorry for wrong IP entry error/mistake, forgot the night coffee cup -.-

System versions:

OPNsense 25.7.3_7-amd64
FreeBSD 14.3-RELEASE-p2
OpenSSL 3.0.17

Regards
OPNSense on Bhyve VM set with 2CPU, 4GB-RAM, 120GB-ZFS, Transparent Filtering Bridge(TFB).
Intel i5-2390T with 32GB-RAM and Intel I350-T4(2-Ports Passthrough for OPNsense + VirtIO).
System running Jails, MEDIA/SMB/NFS/SSH servers etc.., ZFS-Mirrors for boot and storage.

If there is an extra space somewhere you will get that error message, too. Agree it's annoying, just trying to find out why you have that problem and I don't (avoiding spaces etc.)
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

10.0.0.300 is not a valid IP address

it only goes up to .255
Hardware:
DEC740

Quote from: Monviech (Cedrik) on September 29, 2025, 08:14:30 AM10.0.0.300 is not a valid IP address

it only goes up to .255

Right 🤦�♂️
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Monviech (Cedrik) on September 29, 2025, 08:14:30 AM10.0.0.300 is not a valid IP address

it only goes up to .255

@Monviech (Cedrik)
Wow ppfff -.-, indeed just get max 255, just my bad, falling asleep since too busy weekend.


@Patrick M. Hausen
I just type in addresses/ports in the field and after adding a comma it automatically creates an entry bread-scrum and a space, between I will try pasting all this entries copied from a text document all just separated with a comma and try again how it goes.

Regards
OPNSense on Bhyve VM set with 2CPU, 4GB-RAM, 120GB-ZFS, Transparent Filtering Bridge(TFB).
Intel i5-2390T with 32GB-RAM and Intel I350-T4(2-Ports Passthrough for OPNsense + VirtIO).
System running Jails, MEDIA/SMB/NFS/SSH servers etc.., ZFS-Mirrors for boot and storage.

You can click on "text" below that field.

And then copy paste them as newline separated list:

172.16.1.1
172.16.1.2
172.16.1.3

Hardware:
DEC740

September 29, 2025, 11:44:03 AM #8 Last Edit: September 30, 2025, 01:39:23 AM by Jose
Quote from: Monviech (Cedrik) on September 29, 2025, 11:24:06 AMYou can click on "text" below that field.

And then copy paste them as newline separated list:

172.16.1.1
172.16.1.2
172.16.1.3


Hi, yes I've selected the text icon and copied them and they populated as new lined and worked just fine.

Also as "Patrick M. Hausen" said, I've also copied several IP's from a text file and pasted them in the Alias field and just hit Save and also worked just fine like shown below:

You cannot view this attachment.

I just tend to ignore the "Copy/Paste/Text" icons under the field box but I will select now the "Text" icon to paste entries in order to avoid the previous the errors.

Regards
OPNSense on Bhyve VM set with 2CPU, 4GB-RAM, 120GB-ZFS, Transparent Filtering Bridge(TFB).
Intel i5-2390T with 32GB-RAM and Intel I350-T4(2-Ports Passthrough for OPNsense + VirtIO).
System running Jails, MEDIA/SMB/NFS/SSH servers etc.., ZFS-Mirrors for boot and storage.

From the first validation screenshots you can see there is an extra whitespace at the end "3478 ", maybe that's a CR (\r) from Windows line endings or a spurious LF (\n) altogether being converted into a space, but that is strange input like

3478
,4379

What are you actually pasting? Just paste it here in the forum...


Cheers,
Franco

Quote from: franco on September 29, 2025, 12:47:38 PMFrom the first validation screenshots you can see there is an extra whitespace at the end "3478 ", maybe that's a CR (\r) from Windows line endings or a spurious LF (\n) altogether being converted into a space, but that is strange input like

3478
,4379

What are you actually pasting? Just paste it here in the forum...


Cheers,
Franco

Hi @franco, I did noticed that little spaces as well, also Patrick mentioned it too and I though it was just the GUI output.
However as you said it was provably from copying stuff from random websites in a hurry searching for Steam and some game ports to play behind the TFB.

I'm really sorry for all the noise and this can be marked as solved, so next time I will check/format on my text editor before copying a bunch of ports from the web when creating aliases, also when entering hosts IP's manually it requires for comma at the end of each IP too.

Regards
OPNSense on Bhyve VM set with 2CPU, 4GB-RAM, 120GB-ZFS, Transparent Filtering Bridge(TFB).
Intel i5-2390T with 32GB-RAM and Intel I350-T4(2-Ports Passthrough for OPNsense + VirtIO).
System running Jails, MEDIA/SMB/NFS/SSH servers etc.., ZFS-Mirrors for boot and storage.