OPNsense is an open-source operating system based on FreeBSD that is primarily used as a firewall and network router solution. It is designed to provide a reliable and advanced network security platform with a wide variety of features and capabilities.
opnsense-bootstrap is a tool that can completely reinstall a running system to perform a factory reset or restore the coherence of all OPNsense files. It can also wipe the configuration directory, but it will not do so by default. What it will also do is turn a standard FreeBSD install into an OPNsense installation, UFS and ZFS installations are supported.
Usage is straightforward, using the FreeBSD image would be to run the following:
# fetch https://raw.githubusercontent.com/opnsense/update/master/src/bootstrap/opnsense-bootstrap.sh.in # sh ./opnsense-bootstrap.sh.in -r 23.7
After the automatic reboot, at the end of the bootstrap script, enter through the Emergency Console and configure the WAN with vtnet0:
Upon completion of the setup, OPNsense should be up and running, and you can access it from the WAN panel via HTTPS:
Use the root user and the default password "opnsense" (without quotes) to log in. Remember to change the password quickly for security.
We hope this article has been helpful to you; if you have questions about this or any other matter related to your servers at Clouding, please do not hesitate to contact us at soporte@clouding.io. We are here to assist you!