OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: ursus on October 13, 2019, 10:44:25 am

Title: Firewall/Aliases -> Ports not working
Post by: ursus on October 13, 2019, 10:44:25 am
Hi

I love using aliases and have quite a few already set up. I want to setup my XBox for open NAT and started by creating a new port alias. I can enter the name, but when I select Port(s) and then try to enter the port in the Content field the values entered just disappear. I am on the newest version of OPNsense (OPNsense 19.7.5-amd64) and this was working as I already have a couple of port aliases that I created previously. Is this an error with this version of OPNsense or am I missing something?

Cheers
Ursus

PS: I have tried rebooting, checking if there is a newer version available and copying an existing entry and trying to update it
Title: Re: Firewall/Aliases -> Ports not working
Post by: mimugmail on October 13, 2019, 11:17:39 am
There is bug, just wait for a hotfix :)
Title: Re: Firewall/Aliases -> Ports not working
Post by: ursus on October 13, 2019, 02:14:31 pm
Thank you very much - thought I was going mad  :D
Title: Re: Firewall/Aliases -> Ports not working
Post by: Devnull on October 13, 2019, 08:30:31 pm
Workaround for the time being is either using the API (for anything that is not a domain), or exporting aliases and editing the json file manually. After that reimport.

Search for the name of the alias you want to edit, and then edit the "content" part of the json. Multiple entries have to be separated via "\n".
Title: Re: Firewall/Aliases -> Ports not working
Post by: dcol on October 13, 2019, 10:57:28 pm
I found another bug in the GeoIP alias. You can't select any countries. As soon as you save, they all go away.
I had a country list set in my old OPNsense box, which I recently updated. When I restored the Aliases, None of the countries were there.
Title: Re: Firewall/Aliases -> Ports not working
Post by: dcol on October 14, 2019, 01:22:18 am
Latest patch fixed this problem
Title: Re: Firewall/Aliases -> Ports not working
Post by: TheLatestWire on October 14, 2019, 02:55:00 am
What's the number of that patch please?  Is there a page to see/watch for patches?
Title: Re: Firewall/Aliases -> Ports not working
Post by: dcol on October 15, 2019, 11:49:35 pm
Good point for a patch list. I think the latest update 19.7.5_5 fixed the alias issue.