OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of luke.camilleri »
  • Show Posts »
  • Messages
  • 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

Messages - luke.camilleri

Pages: [1]
1
20.1 Legacy Series / XML Parsing packages
« on: July 30, 2020, 02:09:48 pm »
Hi everyone, we are looking into ways to edit the config.xml by using an XML parser which can be easily done with tools like XMLstarlet and xml-coreutils but these packages do not seem to be available in the OPNsense repository.

Would it be possible to add these packages to the repository or some assistance on enabling the FreeBSD repos and get them from there?

Thanks in advance

2
Tutorials and FAQs / Applying OPNSense settings in a startup script
« on: August 02, 2019, 11:17:08 am »
Hi everyone, I need to find a way to apply the initial settings (mainly interface assignment, ip addressing, hostname, timezone, DNS servers and disabling DHCP) from a script.

All the values are being provided as an ISO image attached to the VM instance and filled with key value pairs that I will use to apply the settings but I need to know how can I apply them i.e. which specific opnsense commands I need to use.

These are some example values in the ISO image attached:

ETH0_DNS = "8.8.8.8",
ETH0_GATEWAY = "185.89.239.195",
ETH0_IP = "185.89.239.206",
ETH0_MAC = "02:00:b9:59:ef:ce",
ETH0_MASK = "255.255.255.224",
ETH0_NETWORK = "185.89.239.192",

For example I can use ifconfig to set the IP addresses in freebsd but is this the proper way to have them applied in opnsense... Guess you understood what I am trying to accomplish now :-)

OPNSense version 19.1.4

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