When remote Security Onion sensors over VPN make sense
Remote sensors over VPN make sense when a central team needs network visibility at branch offices or in another cloud account, but standing up a full Security Onion grid at each site is not justified by the traffic or the staffing. In that pattern, the sensor sits where the traffic is, while the manager and search nodes stay in the central environment where analysts work. The production pattern is the distributed design, with a manager node, one or more sensor nodes and one or more search nodes, which Security Onion recommends for production. Before committing, confirm with your own architecture that the remote links can carry the sensor's traffic to the manager and that the sites meet the sensor minimums in the hardware documentation.
The setup itself is simple to describe. During installation, choose the tunnel interface, typically tun0, as the management interface, and then add the VPN concentrator's inside interface to the sensor firewall hostgroup so the manager can reach the sensor through the tunnel. The mechanics depend on your VPN product, routing and address plan, so treat the example values as illustrative and verify them in a lab before any site goes live. Ask your network team how the tunnel stays up, what happens to routing when it drops, and whether the monitored traffic and the management traffic use separate paths.
The main trade-off is that the tunnel carries management traffic. Sensor-to-manager communication, log forwarding and administrative access all depend on that link, so a VPN outage affects visibility and control at the same time. Plan for that risk: decide what the sensor should do while disconnected, who gets alerted when the tunnel drops, and how you will rebuild or resync a sensor that has been offline. Keep management access restricted to the firewall host groups you intend, and test that the tunnel and the hostgroup rules behave as your change record says before you rely on them.
How a remote sensor reaches the manager over the VPN
The path starts at the remote sensor, which monitors its local network through a sniffing interface and uses its management interface for control traffic. That management interface is the VPN tunnel, typically tun0, so the sensor's traffic leaves the branch network inside the encrypted tunnel to the VPN concentrator at the central site. From the concentrator, the traffic reaches the manager and search nodes only if the concentrator's inside interface is in the sensor firewall hostgroup. Check that the tunnel is up and that this hostgroup entry matches the address the concentrator presents before you run setup.
Sensor management traffic crosses the VPN tunnel and enters the central network through the firewall hostgroup.
Choosing where the remote sensor runs
A branch sensor runs on a server or virtual machine inside the branch network, with a sniffing interface that sees the branch traffic you want to monitor and a management interface that reaches the manager across the VPN. This placement assumes the branch has stable WAN connectivity, enough local compute for the sensor role, and a clear owner for the hardware if it fails. Sensor-only traffic is usually low enough that the tunnel carries alerts, logs and management traffic rather than full packet data, but you should confirm that with the design you choose.
- Sniffing point: Confirm whether a SPAN port, a network TAP or a virtual mirror is available for the branch segment you need to see.
- Management path: Confirm the VPN is up at all hours the sensor must report, and that the manager can reach the sensor over the tunnel.
- Hardware ownership: Decide who replaces a failed server or VM host at the branch, since remote hands may be needed.
- Local storage: Plan whether packet data stays on the sensor or is limited to what the grid needs.
- Appliance fit: A local appliance or pre-built hardware makes sense when the branch has no virtualization platform or no one to maintain one.
Before you commit, ask the network team for the branch WAN bandwidth, the VPN type and uptime history, and whether the branch segment can be mirrored without changing production traffic.
A sensor in AWS, Azure or Google Cloud sees traffic inside that cloud environment and sends its data back to the manager through a site-to-site VPN. The cloud side usually uses a native mirroring feature to copy traffic to the sensor, so the VPN carries management and event data, not the mirrored packets themselves. Your cloud and network teams need to agree on address ranges, routing and which cloud subnets the sensor can reach before the tunnel is built.
- Address planning: Confirm the cloud VPC or virtual network ranges do not overlap with on-premises ranges before routing is configured.
- Tunnel type: Confirm whether the site-to-site VPN is a managed gateway or a self-managed concentrator, since that changes who maintains it.
- Mirroring path: Confirm which mirroring method your cloud platform supports for the instance types you plan to use.
- Egress and access: Confirm which ports the sensor needs to the manager and whether traffic leaves through the VPN or the internet.
- Cloud platform details: The cloud sibling topics cover marketplace images, instance choices and mirroring setup for each provider.
Before you commit, ask the cloud team who owns the VPN gateway, how it is monitored, and what happens to mirrored traffic if the tunnel drops.
In this placement the sensor sits on a segment reached only through a VPN, and no search node is installed locally. The sensor forwards its data to a manager or search node elsewhere, so the tunnel becomes the only path for both management and event traffic. This suits small or restricted segments where adding a search node is not justified, but it concentrates risk on one path, and tunnel loss can stop alerting until the link recovers.
- Single path dependency: Plan how the sensor behaves during a VPN outage and what alerts or gaps you accept.
- Firewall host group: Add the VPN concentrator's inside interface to the sensor firewall host group so the sensor accepts traffic from the manager side.
- Management interface: During setup, the tunnel interface, typically
tun0, is chosen as the management interface. - Capacity over the link: Confirm the VPN bandwidth and latency can carry the event volume the sensor generates.
- Restricted access: Confirm who can reach the sensor and whether the segment's owners approve a monitoring sensor there.
Before you commit, ask the network team for the tunnel's bandwidth, its failover behavior and whether a second path exists for management traffic.
A tunnel-joined sensor is not always the right answer. When the remote segment produces heavy traffic, when the VPN is unreliable or shared with other workloads, or when analysts need searches to keep working during a link outage, a local search node or a full standalone design at the remote site fits better. Mirroring that stays inside one cloud or site can also reduce how much data crosses the tunnel. The trade-off is more hardware, more patching and more places to monitor.
- Heavy traffic: Estimate the throughput of the segment before choosing a tunnel-joined design.
- Outage tolerance: Decide whether losing search during a link outage is acceptable.
- Shared VPN: Confirm whether the VPN carries business traffic that would compete with sensor data.
- Local appliance: A pre-built appliance can suit a site with no one to build and maintain a server.
- Grid design: Review the architecture and scaling topics before adding nodes at remote sites.
Before you commit, ask the network team for peak traffic on the tunnel and ask the security team how much monitoring gap they can accept during an outage.
Configuration options and when each fits
This table compares the main setup choices for a remote sensor reached over a VPN: which interface carries management, how the VPN concentrator is trusted in the firewall, how sniffing and management traffic are routed, and which VPN type to use. Read each row against your own network, then confirm the open items before you start the build.
| Option | When it fits | Trade-off | What to confirm |
|---|---|---|---|
| Tunnel as management interface (tun0) | The sensor has one NIC for capture and the tunnel is the only path to the manager, so all management traffic should ride the VPN. | If the tunnel drops, the sensor loses its path to the manager and cannot be reached for repair without local access. Tunnel MTU and keepalive settings affect Salt and log delivery. | Name of the tunnel interface on the sensor (typically tun0), tunnel MTU, keepalive and reconnect behavior, and whether the manager address is reachable only through the tunnel. |
| Separate management NIC with VPN routes | The sensor has a spare NIC for management, so the VPN carries management traffic while a dedicated NIC stays on the monitored link. | Needs an extra interface and careful route tables so capture traffic never leaks into the tunnel. Adds configuration work on each sensor. | Which NIC is management and which is sniffing, that the default route points at the management interface, and that the sniffing interface has no IP route to the VPN. |
| VPN concentrator inside interface in the sensor firewall hostgroup | The sensor's firewall must allow manager and search node traffic from the VPN side, so the inside interface of the concentrator is added to the sensor firewall hostgroup. | A broad hostgroup entry widens what the sensor accepts. Too narrow an entry blocks Salt, Elastic Agent or log flows and looks like a random outage. | Inside subnet of the concentrator, the exact manager and search node addresses that need access, and the ports your Security Onion version uses for each flow. |
| Routing sniffing traffic versus management traffic | Capture interfaces should receive mirrored traffic only, while management traffic uses routed paths, so routing is kept separate by interface. | Mixing both on one interface risks loops, duplicated capture or asymmetric paths. Separating them requires a documented route plan. | Routing table on the sensor after setup, that sniffing NICs carry no IP address or route, and that return traffic from the manager takes the tunnel. |
| Site-to-site VPN | A branch or another data center links to the head office network as a whole, and the sensor sits on a subnet reachable through that link. | Works well for stable, always-on links. Routing and firewall rules live on both ends, so changes need coordination with the network team. | Tunnel endpoints, which subnets are advertised, whether routes are static or dynamic, and who owns the firewall policy on each side. |
| Client-based VPN | A sensor in a small or mobile site connects to the network with a client agent or user-style tunnel, and the device is managed as an endpoint. | Less suited to unattended sensors. Client sessions can expire or require user interaction, and split-tunnel settings can send traffic the wrong way. | Whether the client can run unattended on a headless Linux host, session lifetime, split-tunnel behavior, and how reconnects are handled after a reboot. |
| Cloud-native VPN gateway | The sensor runs in AWS, Azure or Google Cloud and reaches the manager through the provider's managed VPN or gateway service. | Gateway and routing configuration is provider-specific, and cloud firewall rules can duplicate the Security Onion hostgroup rules. Gateway charges recur in most setups. | Gateway type and throughput limits in the provider documentation, route propagation settings, cloud security group or firewall rules, and the recurring charges your account will pay. |
| Dedicated VPN for sensors only | Many sensors connect to one manager, and separating their tunnel from user VPN traffic limits the blast radius of a change. | Another tunnel to operate, monitor and certify. Helpful when sensor traffic volume or change control differs from user access. | Who operates the concentrator, whether it is covered by the same logging and patching process, and how sensor tunnel credentials are issued and rotated. |
How to join a remote sensor to the manager over VPN
This sequence brings a branch or cross-cloud sensor onto the manager through a tunnel you have already tested, so the sensor reports into the Console and its traffic and logs reach the search node. Each step closes with a check that tells you whether to move on.
Confirm the VPN tunnel is up and stable
The network team brings up the site-to-site or client VPN between the remote location and the manager's network before anyone touches the sensor. Run a sustained ping and a short throughput test across the tunnel from both ends, and check the tunnel for drops over a period your network team considers representative of normal use. Do not install Security Onion until the tunnel stays up without flapping and the routes on both sides point at the tunnel. You know this step is done when both ends show a stable tunnel with the expected routes and no packet loss under test.
Choose the tunnel interface as management
During Security Onion setup on the sensor, select the tunnel interface as the management interface, typically tun0 on a Linux VPN client, instead of a local LAN adapter. The sensor will register with the manager and receive configuration over that path, so the choice determines where all management traffic travels. Record the interface name and the sensor's address on the tunnel for later use in the firewall and Salt steps. You know this step is done when the setup summary lists the tunnel as management and the sensor has an address on the tunnel subnet.
Verify the manager and sensor reach each other
From the manager, confirm it can reach the sensor's tunnel address, and from the sensor, confirm it can reach the manager over the same tunnel. Check the reverse path as well, because a route that works in one direction only will still block registration and updates. Test the ports the Security Onion grid uses between manager and sensor, and confirm the replies return through the tunnel rather than a default gateway on the local network. You know this step is done when traffic succeeds in both directions over the tunnel interface and the replies use that interface.
Add the concentrator inside interface to hostgroup
On the manager, add the VPN concentrator's inside interface address to the sensor firewall host group so the manager accepts the sensor's management connections from that network. Apply the change through the Security Onion firewall configuration, not by editing host firewall rules on individual nodes, so the grid keeps one source of truth. Limit the entry to the concentrator's inside address or the tunnel subnet your team has approved. You know this step is done when the host group lists the entry and the manager accepts a test connection from the sensor side.
Confirm the sensor is healthy in the Console
Open the Security Onion Console and find the new sensor in the grid view. Check that its status reports healthy, that its services are running, and that its hostname and tunnel address match what you recorded in setup. If the sensor appears with a missing or stale status, review the firewall host group entry and the tunnel routes before changing anything else. You know this step is done when the sensor shows as healthy in the Console with all expected services running.
Test that sensor traffic and logs reach the search node
Generate known test traffic on the remote network segment that the sensor monitors, then search for it in the Console to confirm the events arrive at the search node. Check both network metadata and the sensor's logs, and confirm the timestamps are close to the time of generation. If events are absent, check the monitored interface, the time sync on the sensor, and whether the search node can reach the tunnel path it needs. You know this step is done when your test events appear in search results with correct sensor attribution and timestamps.
What changes in the firewall host group
Adding the VPN concentrator's inside interface to the sensor firewall hostgroup is what lets the manager and other grid nodes reach a remote sensor across the tunnel. Security Onion controls which hosts may reach each node through its firewall host groups, so a sensor that sits behind a VPN will refuse grid traffic from the manager until the tunnel's inside address range is part of the group that permits it. Without that change, the sensor may still appear to run, but the manager will not receive its events, its status will look wrong, and the failure can be easy to mistake for a fault in Suricata or Zeek. Confirm the exact ports and protocols the manager and sensor exchange against the Security Onion architecture docs before you write any rule, because the required set depends on your grid version and node roles.
Keep the change as narrow as the design allows. Add the concentrator's inside address or a small subnet that holds only the tunnel endpoints, not a broad private range that also covers branch workstations, and limit the permitted ports to those the architecture docs require between the manager and a sensor. A misconfigured group usually shows up in one of two ways: it is too narrow, so the sensor cannot register or pull configuration, or it is too wide, so unrelated hosts gain access to node services. Record each change with the reason, the hosts it covers, the ports, the requester and the date, and keep that record with the grid's configuration notes so an analyst or auditor can trace why the rule exists.
Review the host group after any VPN re-addressing, such as a new inside subnet, a change of concentrator, a failover pair or a rebuilt tunnel interface. The sensor's management path changes when the tunnel moves, and a stale entry can leave the sensor isolated or leave an old address range with access it no longer needs. After each change, confirm that the sensor still reports to the manager, that search nodes still receive its data, and that no leftover entries remain. Tie this review to your change process so the host group is checked whenever the VPN is touched, not only when a sensor first goes live.
Security risks of tunneling grid management traffic
A VPN tunnel that carries Security Onion management traffic becomes part of the grid's trust boundary. The cards below cover the risks that follow from that choice, from tunnel authentication and firewall scope to outages, routing errors and monitoring the tunnel itself.
Tunnel authentication and key management
The tunnel is the only path between a remote sensor and its manager, so weak VPN authentication lets an attacker impersonate a site or reach the grid. Confirm which VPN products and cipher suites are approved, that each sensor has its own identity rather than a shared key, and who can issue and revoke those identities. Check that revocation takes effect on the concentrator and that the sensor cannot reconnect with a revoked credential.
Least-privilege firewall hostgroup scope
Adding the VPN concentrator's inside interface to the sensor firewall hostgroup grants that network access to the sensor, so the hostgroup should cover only the addresses and ports the grid needs. Review whether the whole inside subnet is included or only the manager and receiver endpoints. Document each rule and who approved it, then recheck the hostgroup after every site change.
Isolation during a VPN outage
When the tunnel drops, a remote sensor cannot reach its manager, so its alerts and logs stop reaching the grid. Decide in advance whether the sensor keeps local data long enough to cover the expected outage and how the team will learn that a site has gone silent. Test an outage on purpose and confirm that the sensor recovers without manual steps once the tunnel returns.
Split-tunnel and routing mistakes
A routing error can send traffic from the sniffing network into the tunnel or expose it to networks that should never see it. Confirm that the monitoring interface has no route to the VPN and that the management interface is the only path into the tunnel. Review routes after each change to the VPN configuration, because a default route or a broad subnet added for convenience can widen exposure quietly.
Rotation of tunnel credentials and certificates
Tunnel keys, pre-shared secrets and certificates expire or may be exposed, so they need a documented rotation schedule and a tested procedure. Ask the VPN vendor how rotation is done without a full outage and whether sensors can receive new credentials without a rebuild. Record the expiry date of each credential so that a lapse does not cut off a site unexpectedly.
Logging and monitoring of the tunnel
The tunnel itself needs its own logs, including authentication successes and failures, session starts and stops, and changes to routes or firewall rules. Forward these events to the grid or to the central log store so that the team can see a failed login or an unexpected session. Set an alert for repeated tunnel failures from one site, since that pattern can signal either a fault or an attack.
Questions buyers ask before hiring help with remote sensors
What does help with remote Security Onion sensors cost, and what drives the price?
The cost follows from the written scope, and the main drivers are the number of sites, the VPN type, and how many sensors and firewall changes are involved. Each site adds its own network discovery, sensor build, tunnel verification and firewall work, so ten branches cost more effort than two even when the design is identical. A site with a mature IPsec or WireGuard tunnel and a documented inside interface moves faster than one where the tunnel is unclear. One-time work includes design, the first build and cutover. Recurring costs appear only if you add a retainer for upgrades and monitoring. Ask any provider for a quote that lists sites, tunnel types, firewall change tasks and what is excluded. DeployOpen does not publish a price list; a quote follows from the written scope.
How long does a remote sensor deployment take?
Duration depends less on Security Onion itself and more on the network team's pace: tunnel confirmation, firewall change approval windows and the number of change cycles. Each sensor needs a build, a tunnel test from the sensor to the manager, a firewall host group update, and a check that events reach the manager. Change control is often the longest step, so plan for the approval calendar before the technical work. Remote sites with on-site hands or travel add scheduling lead time. Ask for a timeline that separates design, pilot site, remaining sites and verification, and confirm which steps depend on your change board.
What must our internal team provide before a VPN sensor project starts?
Your team needs to supply current network diagrams, the VPN concentrator details, and access for the people who will configure and test the tunnel. Specifically, the work needs:
- Diagrams showing each site, the tunnel endpoints, the sensor subnet and the manager's location
- Confirmation of which VPN concentrator interface is the inside interface that the sensor firewall host group must trust
- Accounts or change tickets for the VPN and firewall administrators, plus a named approver for each firewall change
- Routing and address plans so the sensor's management traffic does not collide with monitored traffic
Missing any of these typically stalls the project during discovery, so gather them before the kickoff call.
Can our own team deploy a remote sensor over VPN without a partner?
Yes, a capable internal team can do this, provided it owns the network skills and the change process. The Security Onion side is a standard sensor build: during setup you choose the tunnel interface, typically tun0, as the management interface, and you add the VPN concentrator's inside interface to the sensor firewall hostgroup. The harder parts are VPN routing, firewall policy and confirming that the tunnel stays up. Check whether your engineers have time for multi-site testing, documentation and post-change verification. A partner makes sense when the number of sites, the mix of tunnel types or the change windows exceed what your team can absorb alongside its other work.
How does the design change when sensors sit in other clouds?
The core pattern stays the same, but the traffic capture and network paths differ by cloud. In AWS, Azure and Google Cloud, the sensor reaches the manager through the cloud network, and the cloud's traffic mirroring or TAP feature supplies the packets to be inspected. A sensor in another cloud usually connects to the manager through a VPN or private connectivity, so the same tunnel-as-management-interface and firewall host group steps apply. Confirm the cloud provider's mirroring limits, the security group or network security group rules, and which subnet the tunnel terminates in. The Security Onion AWS documentation describes the tunnel setup for Amazon Cloud. Check each cloud's own documentation for mirroring and routing before you design the path.
What should we do when a remote sensor drops off the grid?
First, check whether the tunnel is down or the sensor itself has failed, because the symptoms look similar in the console. If the tunnel is down, the sensor cannot reach the manager and events stop arriving, while the sensor may keep running locally. Confirm the VPN state on both ends, the route to the manager, and whether the firewall host group still includes the concentrator's inside interface after any recent change. Then check the sensor's services and disk. Document each sensor's tunnel endpoint and recovery steps before go-live so on-call engineers are not diagnosing from scratch. Also consider the manager side: the architecture docs note that if the manager goes down, search nodes stop indexing because they cannot reach Redis, so a manager outage is a larger problem than one remote sensor.
How the scope is agreed before any tunnel is built
A remote sensor project is scoped in writing before any VPN tunnel, firewall rule or sensor build starts. DeployOpen begins with an inventory of every site and network that will host a sensor or send it traffic: branch offices, other cloud accounts, and the manager and search nodes they must reach. For each site the inventory records the sensor's planned location, the network segments its monitored traffic comes from, the address ranges on each side of the tunnel, and who owns the firewall and VPN concentrator at that site. Ask your team to confirm each of these items with the network owner, because a sensor that cannot reach the manager during setup is the most common reason a remote deployment stalls.
The second step is a design review of the VPN itself. The review confirms the tunnel type and endpoints, the routing between sensor and manager subnets, MTU and fragmentation behavior, and the time source the sensor will use. It also fixes the management interface decision: the tunnel, typically tun0, is chosen as the management interface during setup, and the VPN concentrator's inside interface is named for the sensor firewall hostgroup. Those choices are written into a change list that names each firewall rule, host group entry and route to be added, the owner who will make the change, and the rollback step. The test plan follows from the same list, covering manager reachability through the tunnel, log and alert flow, and what happens when the tunnel drops. Handover documentation then records the final topology, addresses, configuration choices and the test results, so your operations team can run and change the design without reconstructing it.
How DeployOpen plans and supports remote Security Onion sensors
DeployOpen plans, builds, documents and supports the VPN path that connects remote Security Onion sensors to your manager, inside your own cloud accounts, data centers or branch networks. Each engagement starts with a written scope that names the sites, tunnel design, sensor placement and firewall changes, so your security and network teams review the same plan before anything is changed.
How we scope
- We list each remote site or cloud, its sensor role and the VPN concentrator that carries its management traffic.
- We confirm which interface the sensor will use for management and which VPN inside interface joins the sensor firewall host group.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We install the sensors and the manager-side settings in your environment, using the tunnel as the management interface where the design requires it.
- We update the firewall host group so only the VPN inside addresses that need manager access can reach the sensor.
- We test sensor check-in, log delivery and alert flow across the tunnel, including behavior after a tunnel drop.
How we hand over
- You receive a written record of the tunnel design, interface choices, host group membership and firewall rules.
- Runbooks cover what to check when a remote sensor stops reporting, and who owns the VPN and the sensor on each side.
- We walk your engineers through the configuration so they can review and change it after handover.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- We can review VPN changes, new branch sites and sensor upgrades against the documented design before they reach production.
- We confirm with you which tunnel, routing and vendor-specific settings apply in your environment before each change.

