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

#1
I now manually added the quotes to /conf/config.xml and updated Monit to 6.1.0 again. Works fine.

old:
<path>/bin/sh -c "command argument1 argument2" repeat every cycle</path>new:
<path>'/bin/sh -c "command argument1 argument2"' repeat every cycle</path>
It's just the GUI which prevents you from entering the path correctly. Once it's in the config.xml, it's all good.

Cheers
Maurice
#2
opnsense-revert -r 26.7.9 monit... is the short-term workaround which brings my existing configuration back to life.
#3
As expected, you still don't have to assign the interface. I updated the how-to.

https://github.com/opnsense/docs/pull/944

Cheers
Maurice
#4
Adding an interface assignment for the nat64 interface isn't required, at least it wasn't when I wrote the how-to years ago. If "Tayga" still is the selected interface (technically an interface group) in your firewall and NAT rules, you should be good.

QuoteAlso verify that the Tayga interface is present under Interfaces ‣ Assignments and apply pending changes.
This comment may have been added because of the new firewall rules and / or interface assignments.

I'll set up Tayga on a fresh OPNsense install and check for anything that might need to get updated in the how-to.

Thanks for the heads-up.

Cheers
Maurice
#5
It doesn't even allow programs without arguments anymore, if you want to add standard Monit options like "repeat every cycle". Any spaces anywhere seem to be verboten now. That's a bit too much hardening for my taste.
#6
Hm, OPNsense doesn't even accept my existing Paths anymore. If I edit an existing Service Test and save it without changing anything, it gets rejected: "Text may not contain spaces or tabs."

So the UI kind of catches this for new tests, but not for existing ones. And it prevents you from running programs with arguments, which seems kind of important.
#7
Quote from: sopex on November 24, 2026, 02:39:24 PMMy guess is that you have some custom action that uses exec?

Spot on. I use the Execute action to run shell commands with arguments. The Path I use looks like this:

/bin/sh -c "command argument1 argument2" repeat every cycle
This used to work, but now a program (here: /bin/sh) with arguments (here: -c "...") must be quoted. But if you enter a Path which starts with anything but a /, the OPNsense UI rejects it ("Should be a valid absolute file path.").

I'll open an issue in opnsense/core.

Cheers
Maurice
#8
OPNsense 26.7.10 aarch64 packages and sets released.
#9
Just to start the unavoidable thread. Yes, I did read the release notes, so I wasn't caught completely off guard. 😆

<118>[27] /usr/local/etc/monitrc:25: A program with arguments must be quoted -- unexpected argument '-c'
<118>[27] Monit exiting due to parsing errors in the configuration file.
<118>[27] /usr/local/etc/rc.d/monit: WARNING: failed to start monit

Will investigate later and update this thread.

Cheers
Maurice
#10
General Discussion / Re: Internet only vlan with IPv6
November 20, 2026, 06:36:52 PM
Quote from: nero355 on November 20, 2026, 05:14:46 PMI forgot to ask : Can the 'NULL Route configuration' mentioned some time ago prevent that ?

Prevent what?

For packets handled by policy routing, a null route does nothing since the routing table is ignored.

And a null route by itself cannot prevent access from one LAN to another. It just blackholes packets to destinations which don't exist.
#11
General Discussion / Re: Internet only vlan with IPv6
November 20, 2026, 04:51:11 PM
Quote from: nero355 on November 20, 2026, 04:40:08 PMIsn't that a bit "Polluting your ISP's network" so to speak ?!

Quote from: Maurice on November 19, 2026, 06:53:16 PMA little crude, but works.

Only if a device from the IoT network actually tries to access something forbidden in one of your private networks, which shouldn't normally happen. So we're not talking about a significant amount of traffic. And it typically won't get further than the ISP's first hop. Not a big deal imho.
#12
General Discussion / Re: Internet only vlan with IPv6
November 20, 2026, 12:10:21 AM
Patrick explained how to configure it. Why / how it works: A firewall rule with a gateway directs all matching packets to this gateway, ignoring the routing table (hence "policy routing" - the firewall rule is the policy which makes the routing decision). So all packets coming from the IoT network get sent to your WAN gateway, even if their destination address is in one of your private networks. The upstream gateway then either drops them or sends them back to OPNsense, in which case they get treated like any other packet coming in on the WAN.

Cheers
Maurice
#13
Hardware and Performance / Re: OPNSense on Old Laptop
November 19, 2026, 07:06:37 PM
You can use an old laptop, but it should be old enough to still have a proper (Intel) Ethernet port. Then use VLANs and a small managed switch to split it into multiple ports as required.

I've done this before and it works fine.

Cheers
Maurice
#14
General Discussion / Re: Internet only vlan with IPv6
November 19, 2026, 06:53:16 PM
A different approach is using policy routing. Create an "allow IOT IPv6 to any" rule with the gateway set to your IPv6 WAN gateway. Then add higher priority rules without a gateway for local services / subnets you want to make accessible.

A little crude, but works.

Cheers
Maurice
#15
Thanks for the success story and the tutorial. Interesting to hear that bootefi works on this hardware and with this U-Boot build. That's not always the case...

If you use a ufs-serial-vm-aarch64 image (which defaults to a serial console), you'll have console access from the start. I create these specifically for devices without a video console.

If you erase the eMMC before you write the OPNsense image to it, you don't have to manually repair the backup GPT header.

You don't have to change anything in System / Firmware / Settings. In my aarch64 VM images, the "(default)" mirror already points to my repo.

Cheers
Maurice