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

#1
I'm now able to access my home assistant device.

I already had a rule on my LAN network with Source: LAN net to the firewall on ports 80 and 443.

To make it work I added a new rule below with Source: This Firewall to 192.168.30.87 on port 8123
#2
General Discussion / Caddy Reverse Proxy + Firewall Rules
December 28, 2025, 10:23:03 PM
Hello,

I'm having issues trying to acces home assistant using caddy plugin.

I have a home assistant device on my IoT network 192.168.30.0/24

I created a rule on my LAN network 10.10.0.0/24 to access home assistant with
Protocol: IPv4 TCP
Source: LAN net
Destination: 192.168.30.87
Port: 8123
Which work fine however if try with ha.mydomain.com it fails with ERR_CONNECTION_TIMED_OUT.

I decide to create an Allow All Any rule for testing.
After deleting all history in the browser I was able to get access to home assistant with ha.mydomain.com
however when trying to lock down the rule by first changing the protocol from any to tcp, deleting the browser history
I was no longer able to access home assistant with browser ERROR_CONNECTION_REFUSED.

Below is the config for caddy.

Any idea why I'm having issues with the rules.

Any help would be much appreciated.

# caddy_user=root

# Global Options
{
log {
output net unixgram//var/run/caddy/log.sock {
}
format json {
time_format rfc3339
}
level DEBUG
}

servers {
protocols h1 h2
}

grace_period 10s
skip_install_trust
import /usr/local/etc/caddy/caddy.d/*.global
}

# Reverse Proxy Configuration


ha.mydomain.com {
tls /usr/local/etc/caddy/certificates/692f47de03cb7.pem /usr/local/etc/caddy/certificates/692f47de03cb7.key {
}

handle {
reverse_proxy 192.168.30.87:8123 {
}
}
}

import /usr/local/etc/caddy/caddy.d/*.conf
#3
General Discussion / No NUT UPS Status
December 06, 2025, 01:41:20 AM
Hello,

I'm trying to get NUT setup with no luck. My goal is to setup NUT as Master in OPNsense and have my Unraid Server setup in client mode. After entering the information in the Nut: configuration and rebooting I have nothing showing in the UPS status tab.

Configuration setup:

Enable Nut: selected
Service Mode: Standalone
Name: APC
Listen Address: 127.0.0.1

UPS Type:

USBHID-Driver which I selected

I ran a couple commands in the shell with outputs below.

nut-scanner -U
Scanning USB bus.
[nutdev-usb1]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "051D"
        productid = "0002"
        product = "Back-UPS XS 1300G FW:864.L8 .D USB FW:L8"
        serial = "************"
        vendor = "American Power Conversion"
        # bus = "000"
        # device = "002"
        # busport = "004"

upsdrvctl start

Network UPS Tools - UPS driver controller 2.8.2
Network UPS Tools - apcupsd network client UPS driver 0.72 (2.8.2)
Error: UPS [APC] is for driver usbhid-ups, but I'm apcupsd-ups!

upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
Driver failed to start (exit status=1).

It may look like i have an issue with the driver but I'm not certain. I did have apcupsd plugin installed but it has been removed.

How can I get working. Your help would be much appreciated.

Thanks