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 - vladnik

#1
Attention!

Hey everyone,

after the upgrade to 24.1, please check your cron job for updating OCSP data.
Since that function is no longer available from the list, mine was set to "Automatic firmware update", which could potentially be *really* bad :o



@TheHellSite: Thank you for the guide and the ongoing maintenance, much appreciated! :) (beer is on the way)
#2
Quote from: TheHellSite on December 15, 2022, 02:09:56 PMThe user management in HAProxy has nothing to do at all with any login forms of services that are behind HAProxy! You can use this to add a login form that pops up before the client can even connect to the service that is behind HAProxy. So unrelated to your issue.

Figured as much. Was worth a try though.

Quote from: TheHellSite on December 15, 2022, 02:09:56 PMApart from that please ask in the official HAProxy forums about your issue since it is not related to my tutorial.

Alright, will do. Thanks anyways!
#3
Hey all,

first of all, thank you for the amazing guide @TheHellSite, I have set it up over a year ago and everything works like a charm.

Today, I have a small problem. I have a Mikrotik switch that can only be accessed via Port 80 and requires HTTP basic auth.
I have setup my backend and map file like always, the site is reachable fine, however I cannot login. I enter my credentials and press enter, and the dialog for entering my credentials just shows back up infinitely. The credentials are correct, if I go to the switch via IP-address I can log in normally.



I have tried adding a user and password to 'User management' & ticking the box for Basic auth in the backend and selecting my user, no luck sadly. I'm pretty sure I just have to add an option somewhere to pass the auth header, however, I can't figure it out. Googling for the problem just leads to info on how to setup HAproxy to do basic auth, which I don't need... The logs also don't seem to show anything useful.

Anyone has any ideas? Thanks in advance.
#4
Hi @TheHellSite,

just wanted to say thank you for this excellent guide, worked like a charm and thaught me much about how HAProxy works. Thank you for a job well done!  :)

Cheers!
#5
Development and Code Review / Re: APC UPS new plugin
February 01, 2022, 04:10:01 PM
Hi mrzaz,

wow, I'm stupid  ::)

Anyway, just changed my settings and tested the auto shutdown, works perfectly!
The Dashboard widget also works without issues.

Thanks again for you guys's work, I highly recommend anyone with an APC UPS to check this out. Looking forward for this to become official  :D

Cheers!
#6
Development and Code Review / Re: APC UPS new plugin
February 01, 2022, 02:10:05 AM
@Droid999, @mrzaz, @xbb

Hey guys, wanted to say thank you for working on this.

I have installed v1.2.2 of the package from @xbb's fork on OPNsense 22.1, works exactly as expected so far. I am connected to another server running apcupsd via the Ether and net options.

In the future, it would be interesting to expose these options through the GUI as well:

BATTERYLEVEL
MINUTES

With these two options one can fine tune when the system is shut down in the event of a power failure. The default settings of 3 minutes runtime left and 5% charge remaining are a little on the aggressive side.

Another thing to think about would be exposing the hosts.conf file somehow and integrate monitoring remote devices if OPNsense functions as a server for a USB connected UPS.

Sadly, I am not a programmer, so I cant help much in that area, but if you need further testing let me know.

Cheers!