[Work In Progress] OPNsense Ported into ARM Devices

Started by nekoprog, March 25, 2019, 11:55:58 AM

Previous topic - Next topic
Hi guys,

I'm using opnsense on nanopi-r2s for a year, which is working just fine. The version I have is 22.7 from personalbsd.org. What I'm trying to do is to connect my UPS to the routes (USB cable), so the router would work as a NUT server. The issue is, that I cannot see the NUT plugin. I've tried the original package repo from personalbsd, now I tried yrzr.tk-s repo, but none of them contains this plugin.
I can remember, that in the earlier version (maybe in 19 or 20) it was present, as I played with it on other hardware (rockpi-e). There the connection was for some reason not working, so I stopped the work. Now I would like to try it on the this hardware.

Isn't this package supported? Or is there a way to grab it from somewhere for aarch64?

Thanks!

Hi Abal

The fact is that in the standard system for building the OPNsense image
and the repository of packages and plugins, the sysutils/nut package
and the nut plugin are marked as not to be built for the arm and aarch64 architectures.

And that's why the guys who make custom builds of OPNsense for ARM architecture
don't build them and you don't see them.

It is not yet clear to me why this is done in OPNsense,
because the sysutils/nut package can be built and installed on the AARCH64 architecture.

You better ask the authors of the builds for AARCH64 and if it is personalbsd.org
then you should ask your question in the telegram channel https://t.me/PersonalBSD
Good luck.

Surely this thread will awaken again, with the release of the Pi5?

Hopefully it will. I've been using the Pi 4 compute module with OPNsense and it has been great, since the compute module exposes the PCIe bus for use with a NIC so there is no need for USB attached NICs. With the Pi5 now exposing the PCIe bus as well, I hope a lot more people adopt this as viable solution for a router.
I posted how I built my image in another thread:
https://forum.opnsense.org/index.php?topic=31345.msg167902;topicseen#msg167902

Great work on this post and thank you to everyone who has been putting the effort into this.

I'm very new to OPNSense and was thinking of running on an Oracle.cloud server, the A1.flex server is arm, 2 ocpus and 12gb of RAM.

I want to use it for a couple of things, routing into my network (currently on Starlink with no public IP) and as a captive portal for my friend to authenticate his guest traffic through his coffee shop.

Does anyone here know how I can install opnsense on an arm cloud server, with FreeBSD 13.1 preinstalled

hi
i have a raspberry pi 4 B 8 gb , i did get image from
https://www.yrzr.tk/opnsense-23-for-aarch64/
https://github.com/yrzr/opnsense-tools/releases/tag/23.7.9
i did write image on sd card 64 gb , i did make a config.txt in the root of the sd card and insert everithing on it from config_rpi4.txt
when try too boot show me some errors
config file not found
serverip not set
cannot autoload with tftpget
and stuck on u-boot
can somebody help me to make it work please ?
thank's a lot

Has anyone actually got this to work on a Pi5 yet? I've got one here with a fan, and annoyingly just moving a working pi4b sd card over doesn't work.

I'll keep looking into it, I suspect it's something in the config.txt but I'm not an expert.

@tryingtotech See these threads for OPNsense on OCI A1 instances. You can download a suitable VM image from my GitHub (see signature).
https://forum.opnsense.org/index.php?topic=34795
https://forum.opnsense.org/index.php?topic=35828
https://forum.opnsense.org/index.php?topic=32546
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Quote from: Maurice on December 30, 2023, 02:49:17 PM
@tryingtotech See these threads for OPNsense on OCI A1 instances. You can download a suitable VM image from my GitHub (see signature).
https://forum.opnsense.org/index.php?topic=34795
https://forum.opnsense.org/index.php?topic=35828
https://forum.opnsense.org/index.php?topic=32546

Amazing @Maurice thank you, i will have a look at this today

Quote from: Maurice on December 30, 2023, 02:49:17 PM
@tryingtotech See these threads for OPNsense on OCI A1 instances. You can download a suitable VM image from my GitHub (see signature).
https://forum.opnsense.org/index.php?topic=34795
https://forum.opnsense.org/index.php?topic=35828
https://forum.opnsense.org/index.php?topic=32546

Afternoon @maurice. I am not sure what I'm doing wrong here but the AMP image is not available (see attached screenshot), any advice would be much appreciated

Did you enable the Standard.A1.Flex shape for the custom image after importing it?
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Quote from: Maurice on January 03, 2024, 03:09:04 PM
Did you enable the Standard.A1.Flex shape for the custom image after importing it?

I have now, thank you, just going to the setup now, working out how to open the ports on the VPC, am new to OCI and OPNSense, will let you know if I get stuck, and thank you again for you amazing work

im struggling with Oracle Cloud at the min, I have gone, to VPC, security list and added ingress rules, but still can't get to it, via public IP am I missing a step?

New to OPNsense and OCI can be a bit challenging. You might want to familiarise yourself with OPNsense on a local system first.
Initially, you can't easily connect to the OPNsense Web UI using IPv4. That's because of Oracle's use of SNAT and OPNsense's HTTP_REFERER enforcement. Your best option is to access the Web UI via IPv6.
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

maybe a silly question, but I can't see an ipv6 address anywhere on my instance, so not sure it's set up to have one, I can try rebuilding the server as only in play mode, and try and add it