OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: jimmy shao on January 30, 2016, 06:34:03 pm

Title: System: Gateways: Group not working well
Post by: jimmy shao on January 30, 2016, 06:34:03 pm
(System: Gateways: Group) setting is not working well:
there must be some bug, please check it, thanks!
Title: Re: System: Gateways: Group not working well
Post by: franco on February 02, 2016, 08:31:19 am
Hi there, which version are you using? We checked, but couldn't reproduce so far.
Title: Re: System: Gateways: Group not working well
Post by: jimmy shao on February 03, 2016, 12:51:13 pm
Hi, Franco:

Thanks for the reply.

On the last post, it happens with Below version:
Code: [Select]
OPNsense 16.1-amd64
FreeBSD 10.2-RELEASE-p11
OpenSSL 1.0.2e 3 Dec 2015

Today, the system upgraded to
Code: [Select]
OPNsense 16.1.1-amd64
FreeBSD 10.2-RELEASE-p11
OpenSSL 1.0.2f 28 Jan 2016
the problem still exist.

I made some screen shot and Configuration backup file for your reference.
Title: Re: System: Gateways: Group not working well
Post by: franco on February 04, 2016, 08:12:02 am
It looks like your gateways are being deselected on grounds of not having them set up properly (disabled interfaces or being marked as inactive because an interface may be missing). Please double-check your missing gateways setup.

However, I've added a patch that makes all gateways show up in the rules edit page, that should fix your visibility issue and makes all gateways selectable, but your setup may still be off. You can import the fix from the console:

# cd /usr/local/www
# fetch https://raw.githubusercontent.com/opnsense/core/2db592b/src/www/firewall_rules_edit.php

If you can confirm that this works for you I will add this to 16.1.2.
Title: Re: System: Gateways: Group not working well
Post by: jimmy shao on February 07, 2016, 04:30:20 am
yes, follow by your instruction, new interface shows up in the drop down list, make the screen capture as attachment.

i will check out the interface setting later, and feed back to you.
Title: Re: System: Gateways: Group not working well
Post by: jimmy shao on February 07, 2016, 04:53:48 am
Hi, Franco

I double checked all the interfaces, seems all are working well.

So, I made a test:

Create the 5th gateways group which has the exactly same setting as the 1th gateways group, an already existing and well function one, here comes the scenario:

Before create the new gateways group:
After create the new gateways group:

so, I think it was not revelation with interface setting issue?
Title: Re: System: Gateways: Group not working well
Post by: franco on February 15, 2016, 07:59:09 am
The question is do all of these gateways work with the fix? :)
Title: Re: System: Gateways: Group not working well
Post by: jimmy shao on February 16, 2016, 03:59:05 am
Unfortunately, no.
After patch the fix, still, the latest added gateway group could not show up properly.  :-\
Title: Re: System: Gateways: Group not working well
Post by: ristridin on September 16, 2016, 02:12:44 pm
Hi Franco,

problem still exists in 16.7.3

Best wishes,
Boris
Title: Re: System: Gateways: Group not working well
Post by: franco on September 19, 2016, 07:44:39 am
I can't seem to reproduce this. I add a gateway group, it gets added in the firewall rule drop down. I add another one, it gets added to the dropdown, too.

I've asked Boris for box access. These issues are trivial to fix, but we need the exact conditions to reproduce or the actual box where this happens in order to go forward.

There is a small GUI issue where the last entry of a drop-down is truncated a bit, but the typeahead still works and looking at the attached screenshot it's still possible to select the last gateway. (Just in case this is the reported issue, which is annoying but not a high-priority item.)


Cheers,
Franco