OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of nekoprog »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Topics - nekoprog

Pages: [1]
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.


  • 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)
    #Devicedefconfigdtb
    1ESPRESSObin??armada-3720-espressobin.dtb | armada-3720-community.dtb
    2MACCHIATObin ??armada-8040-mcbin-single-shot.dtb | armada-8040-mcbin.dtb
    3Libre Computer Tritium H5libretech_all_h3_cc_h5_defconfigsun50i-h5-libretech-all-h3-cc.dtb
    4Odroid XU3/4odroid-xu3_defconfigexynos5422-odroidxu3.dtb
    6NanoPi R1nanopi_r1_defconfigsun8i-h3-nanopi-r1.dtb




    Pages: [1]
    OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
    • SMF 2.0.19 | SMF © 2021, Simple Machines
      Privacy Policy
      | XHTML | RSS | WAP2