2018-01-30 10:40:13 +00:00
|
|
|
|
============
|
|
|
|
|
Introduction
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
Welcome to the OPNsense documentation & wiki project!
|
|
|
|
|
The documentation is work in progress and is updated frequently.
|
|
|
|
|
If you would like to contribute in anyway, please take a look at our guide
|
|
|
|
|
how to :doc:`contribute`.
|
|
|
|
|
|
|
|
|
|
.. image:: ./images/opnsense_logo-zilver_grijs.png
|
|
|
|
|
|
|
|
|
|
------------------------------------
|
|
|
|
|
Welcome to OPNsense's documentation!
|
|
|
|
|
------------------------------------
|
|
|
|
|
`OPNsense® <https://opnsense.org>`__ is an open source,
|
2022-01-25 15:27:28 +00:00
|
|
|
|
easy-to-use and easy-to-build FreeBSD based firewall and routing platform.
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
**OPNsense** includes most of the features available in expensive commercial
|
|
|
|
|
firewalls, and more in many cases. It brings the rich feature set of commercial
|
|
|
|
|
offerings with the benefits of open and verifiable sources.
|
|
|
|
|
|
|
|
|
|
-----------------
|
|
|
|
|
Mission Statement
|
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
Give users, developers and businesses a friendly, stable and transparent
|
|
|
|
|
environment. Make OPNsense the most widely used open source security platform.
|
|
|
|
|
The project’s name is derived from open and sense and stands for:
|
|
|
|
|
“Open (source) makes sense.”
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: ./images/OPNsense-Deciso-Screenshot.jpg
|
|
|
|
|
|
2021-07-26 17:46:47 +00:00
|
|
|
|
|
|
|
|
|
-----------------
|
|
|
|
|
Reading guide
|
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
While reading the documentation, it's good to know how the various topics are structured, what their purpose is and how
|
|
|
|
|
to find what you're looking for. Maybe even more important is what this documentation doesn't offer.
|
|
|
|
|
|
|
|
|
|
If you're looking for deeper insights about networking and best practices in designing them, this might not be the best
|
|
|
|
|
place to look. Most of our documents and how-to's focus on how to use functionality included in our software and/or one
|
|
|
|
|
of it's plugins. Quite some books are written about networking, there are (online) courses available and wikipedia
|
|
|
|
|
contains a lot of relevant articles as well. Some interesting reads include the fundamentals about the
|
|
|
|
|
`OSI model <https://en.wikipedia.org/wiki/OSI_model>`__, `IP addressing <https://en.wikipedia.org/wiki/IP_address>`__,
|
|
|
|
|
`routing <https://en.wikipedia.org/wiki/IP_routing>`__ and `network address translation <https://en.wikipedia.org/wiki/Network_address_translation>`__.
|
|
|
|
|
Likely these resources are more suitable for learning about general network concepts.
|
|
|
|
|
Although we do try to include some context in our documents, there are often assumptions made about the readers
|
|
|
|
|
knowledge on (basic) networking.
|
|
|
|
|
|
|
|
|
|
Like many products and projects, ours grows over time, functionality extends and changes, which sometimes makes it difficult
|
2022-06-14 04:55:01 +00:00
|
|
|
|
to find what you need for the version you're using. Although we try to keep our documentation up to date, sometimes text
|
2021-07-26 17:46:47 +00:00
|
|
|
|
doesn't reflect reality anymore. If that's the case and you think you found an omission, don't hestitate to open
|
|
|
|
|
a report using one of our templates on `GitHub <https://github.com/opnsense/docs/issues/new/choose>`__ or a pull request
|
|
|
|
|
of course if you're able to.
|
|
|
|
|
|
|
|
|
|
Always assume the text is intended for the latest version of our product, in time we might
|
|
|
|
|
add a version selector in the documentation, but given OPNsense is a security product, we advise to keep it up to date
|
2022-06-14 04:55:01 +00:00
|
|
|
|
anyway to protect yourself against the latest threats.
|
2021-07-26 17:46:47 +00:00
|
|
|
|
|
|
|
|
|
The releases section contains the changelogs for all versions we published over the years, if there are remarks
|
|
|
|
|
for an upgrade, this is a useful resource to collect the details.
|
|
|
|
|
|
|
|
|
|
Installation and setup is all about getting you started using one of the target options available.
|
|
|
|
|
|
|
|
|
|
The next sections should be quite familiair when working with OPNsense, as they reflect the options in the
|
|
|
|
|
menu of the product. In case you're not yet used to OPNsense, you can always use the search input in the left corner of
|
|
|
|
|
the screen to find your topic.
|
|
|
|
|
|
|
|
|
|
Both community and third-party plugins have their own area available, although they eventually register into the
|
|
|
|
|
same menu structure, it's good to know about possible differences between add-ons and standard functionality.
|
|
|
|
|
The level of support may differ between core functionality, as also explained in the "Support options" section,
|
|
|
|
|
feature requests and bugs maybe treated different as well (a lot of questions for a plugin which is being developed
|
|
|
|
|
by a single person, maybe less active than a group of people improving a plugin together for example).
|
|
|
|
|
|
2022-06-14 04:55:01 +00:00
|
|
|
|
When it comes to building software on top of OPNsense or extending existing functionality, the development
|
2021-07-26 17:46:47 +00:00
|
|
|
|
chapter is the one to read. It explains all about our architecture, coding style, how to hook into available facilities and
|
|
|
|
|
much more.
|
|
|
|
|
|
|
|
|
|
Some pointers when it comes to troubleshooting can be found in the section with the same name, it explains a bit
|
|
|
|
|
about our issue workflow and some tips we collected over the years.
|
|
|
|
|
|
|
|
|
|
Last but not least our documentation includes some pages around project relations, legal guidelines and
|
|
|
|
|
ways to contribute to the project.
|
|
|
|
|
|
|
|
|
|
|
2018-01-30 10:40:13 +00:00
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
|
|
-----------
|
|
|
|
|
Feature set
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
The feature set of OPNsense includes high-end features such as forward caching
|
|
|
|
|
proxy, traffic shaping, intrusion detection and easy OpenVPN client setup.
|
2022-01-25 15:27:28 +00:00
|
|
|
|
The latest release is based on a recent FreeBSD for long-term support and uses a
|
2018-01-30 10:40:13 +00:00
|
|
|
|
newly developed MVC-framework based on Phalcon. OPNsense’s focus on security
|
2023-03-02 16:09:00 +00:00
|
|
|
|
brings unique features such as easy to use one time password authentication for various components.
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
The robust and reliable update mechanism gives OPNsense the ability to provide
|
|
|
|
|
important security updates in a timely fashion.
|
|
|
|
|
|
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
|
|
----------------------
|
|
|
|
|
OPNsense Core Features
|
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
|
|
- Traffic Shaper
|
|
|
|
|
- Captive portal
|
|
|
|
|
|
|
|
|
|
- Voucher support
|
|
|
|
|
- Template manager
|
|
|
|
|
- Multi zone support
|
|
|
|
|
|
|
|
|
|
- Forward Caching Proxy
|
|
|
|
|
|
|
|
|
|
- Transparent mode supported
|
|
|
|
|
- Blacklist support
|
|
|
|
|
|
|
|
|
|
- Virtual Private Network
|
|
|
|
|
|
|
|
|
|
- Site to site
|
|
|
|
|
- Road warrior
|
|
|
|
|
- IPsec
|
|
|
|
|
- OpenVPN
|
|
|
|
|
|
|
|
|
|
- High Availability & Hardware Failover
|
|
|
|
|
|
|
|
|
|
- Includes configuration synchronization & synchronized state tables
|
2018-10-21 17:25:39 +00:00
|
|
|
|
- Moving virtual IPs
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
- Intrusion Detection and Inline Prevention
|
|
|
|
|
|
2019-05-29 10:19:07 +00:00
|
|
|
|
- Built-in support for Emerging Threats rules
|
2018-01-30 10:40:13 +00:00
|
|
|
|
- Simple setup by use of rule categories
|
|
|
|
|
- Scheduler for period automatic updates
|
|
|
|
|
|
2018-11-07 16:45:54 +00:00
|
|
|
|
- Built-in reporting and monitoring tools
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
- System Health, the modern take on RRD Graphs
|
|
|
|
|
- Packet Capture
|
2018-10-21 17:25:39 +00:00
|
|
|
|
- Netflow
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
- Support for plugins
|
|
|
|
|
- DNS Server & DNS Forwarder
|
|
|
|
|
- DHCP Server and Relay
|
|
|
|
|
- Dynamic DNS
|
|
|
|
|
- Backup & Restore
|
|
|
|
|
|
2018-10-21 17:25:39 +00:00
|
|
|
|
- Encrypted cloud backup to Google Drive and Nextcloud
|
2018-01-30 10:40:13 +00:00
|
|
|
|
- Configuration history with colored diff support
|
|
|
|
|
- Local drive backup & restore
|
|
|
|
|
|
|
|
|
|
- Stateful inspection firewall
|
|
|
|
|
- Granular control over state table
|
|
|
|
|
- 802.1Q VLAN support
|
2018-11-08 19:59:18 +00:00
|
|
|
|
- and more…
|