1
Hardware and Performance / [Work In Progress] OPNsense Ported into ARM Devices
« on: March 25, 2019, 11:55:58 am »
Hello, I would like to say thank you to OPNsense developers for creating this awesome firewall. I would like to mention that OPNsense is working great on Raspberry Pi 2, using image created by opnsense/tools with the latest PR. The only problem is that there is no repo for updates or installing plugins. Other than that it works just like on x86/64 hardware. I also tried UnboundBL plugin and it works too. I hope that plugin will go official any time soon.
If anyone ask why use RPI2 because it only has one LAN port, I would say that it doesn't matter because I use Netgear Aircard 320U for WWAN and use LAN port with D-Link DAP-1360 wifi AP.
With this as proof of concept, I hope other users/contributors/developers can use the template on opnsense/tools to port OPNsense to other ARM devices.
Everyone is invited to share ideas and help with porting ARM devices using the device config templates on OPNsense/tools.
Wishlist (Needs uboot slave file in ports to make it work)

If anyone ask why use RPI2 because it only has one LAN port, I would say that it doesn't matter because I use Netgear Aircard 320U for WWAN and use LAN port with D-Link DAP-1360 wifi AP.
With this as proof of concept, I hope other users/contributors/developers can use the template on opnsense/tools to port OPNsense to other ARM devices.
- OPNsense ARM Images [DOWNLOADS]
- Update Repo, edit /usr/local/etc/pkg/repos/OPNsense.conf:
Code: [Select]
OPNsense: {
fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense",
url: "http://neko.progr.am/pieSense/${ABI}/19.1/latest",
signature_type: "NONE",
mirror_type: "NONE",
priority: 11,
enabled: yes
}
- How to make your own ARM image
Code: [Select]
Minimum required build system:
64bit multicore processor, 4GB RAM and 25GB disk space.
Supported 32-bit ARM devices (arm:armv6):
1. Banana Pi (bpi)
2. Raspberry Pi2 (rpi2)
Supported 64-bit ARM devices (arm64:aarch64):
1. NanoPi NEO2 (nanopi-neo2)
2. Orange Pi PC2 (orangepi-pc2)
3. Raspberry Pi3 (rpi3)
Build steps:
# pkg install git
# cd /usr
# git clone https://github.com/opnsense/tools
# cd tools
# make update
# make xtools base kernel packages arm-3G DEVICE=(product-device)
Everyone is invited to share ideas and help with porting ARM devices using the device config templates on OPNsense/tools.
Wishlist (Needs uboot slave file in ports to make it work)
# | Device | defconfig | dtb |
1 | ESPRESSObin | ?? | armada-3720-espressobin.dtb | armada-3720-community.dtb |
2 | MACCHIATObin | ?? | armada-8040-mcbin-single-shot.dtb | armada-8040-mcbin.dtb |
3 | Libre Computer Tritium H5 | libretech_all_h3_cc_h5_defconfig | sun50i-h5-libretech-all-h3-cc.dtb |
4 | Odroid XU3/4 | odroid-xu3_defconfig | exynos5422-odroidxu3.dtb |
6 | NanoPi R1 | nanopi_r1_defconfig | sun8i-h3-nanopi-r1.dtb |

