Documentation / Protect your product

Protect a restricted-access panel

Who connects: a small, known group of people, every one of whom signs in. No anonymous visitor has any reason to reach the service. This is the profile of IoT / HMI / SCADA dashboards, CRMs and ERPs, database tools (phpMyAdmin, Adminer), monitoring (Grafana, Kibana), infrastructure consoles (Portainer, Proxmox) and internal webmail.

The risk

These panels are often put straight on the internet "just for a moment", with only their own login in front. That login is then hit by credential stuffing and brute force around the clock, the software's own bugs are probed, and a single reused password is enough to get in. Because almost nobody should be reaching the panel at all, the right move is to make Neti answer for it and let through only the people you expect.

The recipe

The idea: nothing reaches the panel until Neti has recognised the visitor. In the service card in Routing:

  1. Gate the whole service. In the service's Gate set it to the whole service (not just a few paths): Neti puts its own sign-in in front of everything (the gate switch).
  2. Add the people who may enter. Create a gate user for each person (gate users, how to add a user).
  3. Turn on two-factor. Have each user add an authenticator app, so a stolen password is not enough.
  4. Limit by country. Assign a filtering profile that allows only the country or countries your staff connect from (country filter).
  5. Never lock out the office. Add your office or fixed IPs as trusted networks so they are never banned (they are still inspected).
  6. Inspect what does get through. Leave the burst bans on (Security) and, with a subscription, turn on Application protection in Block mode (Pro).

With the whole service gated, geoip and application attacks are moot for anonymous traffic — it never reaches the panel — but the layers stay on for the authenticated side and for anyone you later exempt.

Worked example: an IoT panel

A control panel for a handful of devices and operators. The devices themselves talk to it from a few fixed addresses, and the operators connect from the office or over the company VPN. Recipe: gate the whole service with a user per operator and two-factor; a filtering profile that allows only the country the operators are in; the device addresses and the office added as trusted networks. If the panel streams live telemetry over a WebSocket, turn that on for the service in Routing.

Worked example: a CRM

A customer database used by a known sales and support team fits this profile exactly: gate the whole service, a user per person with two-factor, a filtering profile for the team's country, and the office as a trusted network. A CRM usually also exposes machine endpoints (web services) that integrations call without a browser — those do not belong behind the gate; see APIs & webhooks for that side.

Check it

  • Opening the service in a browser shows Neti's sign-in, not the panel.
  • In Live analysis anonymous hits stop at the gate; your own sign-ins pass.
  • A request from a disallowed country is refused by the filtering profile.

Maintenance and false positives

  • Locked yourself out? Unblock the address from the console or the shell (how to unblock yourself).
  • A new operator abroad can't sign in? Add their country to the filtering profile, or add their address as a trusted network.
  • Need to let one page through without sign-in (a device callback, a health check)? Use a gate exception for that exact path.
Community

Community

Discussion board. Sign in to open topics and reply.

Loading…

The same account works for Community and Console.

Complete your profile

Your profile

One more step to join the community.

My posts

Your discussions and replies.