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

Topics - Xigma22

#1
21.7 Legacy Series / Configuring NUT
October 16, 2021, 01:08:54 PM
I've been fighting with trying to get NUT up and running on OPNsense for... a while.

Current (desired) setup:

OPNsense Router (netclient SLAVE)
Raspi4 (DNS Filter SLAVE)
Raspi3b+ (UPS Monitor MASTER)
APC BackUPS Pro 1500s

Here's my issue.

What I think I know...

I think the following is correct:

General Settings Tab
Enable Nut - - - ENABLED
Service Mode - - - NETCLIENT
Name - - - *doesnt matter?*
Listen Address - - - IP of NUT server

UPS Type Tab
Netclient option
Enable - - - ENABLED
IP Address - - - IP of NUT server
Username - - - NUT user (as described in the various nut conf files on the NUT master)
Password - - - NUT user password (as described in the various nut conf files on the NUT master)


This seems logical, straightforward, and simple. But it doesn't work. Does the following tab have anything to do with any of this or should this simply be left at default (password) for both fields?

Nut Account Settings (accessed by clicking on general settings tab and selecting this option in the menu)
Admin Password
Monitor Password


Admin Password? Monitor Password?

Wut? That tab makes absolutely no sense to me.

If I leave NUT enabled, this is the endless log output I receive in OPNsense:

UPS [░░░░░░░@░░░░░░░]: connect failed: Connection failure: Connection refused

I'm out of ideas.
#2
18.1 Legacy Series / VLANs - Multiple LAN ports
February 19, 2018, 07:07:31 AM
Hey guys,

I've got a fun one for ya! I have been unable to figure out what I'm doing wrong and could really use some insight here...

I built a little rackmount router with a total of physical interfaces with the following configuration for the interfaces:

re0 - DHCP WAN
re1 - 192.168.15.1/24 - VoIP router dedicated port
bxe0 - Basement Switch (TL-SG3216 v1.0)
bxe1 - 2nd Floor Switch (TL-SG3216 v2.0)

The following have also been created:

bridge0 - comprising bxe0 and bxe1
VLAN1 - 192.168.1.1/24 (parent bxe0)
VLAN10 - 192.168.10.1/24 (parent bxe0)

My network is configured as follows:

|-----Router-----|
bxe0|                       |bxe1
TL-SG3216-B<---->TL-SG3216-2

Disregard the link between the two switches - for the moment, I have disconnected this connection as I haven't had a chance to set up STP.

So here's my problem...

I've been trying to get the VLANs to apply to both switches (bxe0 & bxe1) but I can't seem to pull it off. I've tried adding the VLANs into my bridge interface to see if that would work but everything becomes inaccessible and I have to gui into the router through my VoIP port to change everything back.

Everything works fine out of bxe0 - all VLANs correctly deploy DHCP and all clients can successfully connect.

Aside from that, the bxe1 side of the network is basically inaccessible. I can manually ping from the router to the managed IP address of the bxe1 connected TL-SG3216 switch - but I have no other connectivity.

How does one go about putting the same VLAN in place across multiple LAN interfaces in OPNsense? Does the VLAN need to be on a bridge or..?

I'm so confused by how the VLAN interface assignments work in opnsense - it just doesn't seem very intuitive to me from anything else I've ever worked with. :o