Menu

Show posts

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 Menu

Messages - dotslasher

#1
22.1 Legacy Series / Re: Unbound is slow?
December 09, 2022, 12:04:50 AM
I can confirm I have the same issues as OP.

On mobile devices (we have apple devices), the app store doesn't load most of the time, sites take a minute or 2 to load or sometimes don't even load at all.
On laptops it's not noticeable.

I'm also using cloudfare dns.

On previous versions it became so bad that I had to reload the firewall/restart unbound to get things working again.

Anything I can do to help with the investigation/troubleshooting?
#2
So I've setup the captive portal, added all allow rules for DNS, Captive Portal and connections from the Guest network to the outside world.

I'm using Unifi for my Wifi, changed the Wifi settings for the Unifi Guest settings to the captive portal of Opnsense.
I connect to the Guest wifi with my iphone and macbook and I'm greeted with a nice Opnsense captive portal login.

When I input the correct credentials I'm greeted with the same login screen except no error message or success message appears.
When I input the wrong credentials, the portal tells me they're wrong.

When I check the logs I see the following:

2022-01-31T22:58:49 Error audit /index.php: User logged out for user 'guest' from: 192.168.10.46
2022-01-31T22:58:49 Error audit /index.php: Successful login for user 'guest' from: 192.168.10.46
2022-01-31T22:58:49 Notice audit user guest authenticated successfully for WebGui [using OPNsense\Auth\Services\WebGui + OPNsense\Auth\Local]


In the General log file I see the following:

/index.php: guest@192.168.10.46 attempted to access / but does not have access to that page. Redirecting to index.php?logout.


I've tested a few things:

If I allow the Guest group to access /* then I get the error: File not found.
I tested by allowing the Guest group to access the Captive portal Gui (just for testing purposes) and this gave me the Portal Gui configuration page.
But I can't get it to login and stay connected as it should.