Documentation / Introduction

What is Neti

Neti is a Zero Trust gateway for web applications. You install it on a server with a public IP address and put it in front of your sites, applications and devices: visitors reach Neti, Neti decides who may pass and forwards the requests to the real server (the backend), which no longer needs to be exposed on the Internet.

Everything is managed from a web console, protected by password and a code sent by email, reachable on a port and a path chosen at random during the installation.

The idea in one minute

Most systems that end up compromised were simply reachable: an administration panel, an old application, a device with a web interface, found by an automated scan and attacked through a flaw that was never patched. Keeping every system updated is the right answer, but it is not always possible.

Neti changes what the Internet can see:

  • The address of the real system disappears. The public name of the service points to Neti. The backend can live on a private network, behind a NAT, or at the other end of an encrypted tunnel, with no open port and no public IP address of its own.
  • The only thing exposed is Neti. Neti is a small, single-purpose machine: a hardened web server that answers on ports 80 and 443, kept updated by its own update channel and by the automatic security updates of Debian. Its attack surface is tiny compared with that of a full application.
  • Who is not allowed never talks to the backend. With the gate on, a request reaches the application only after the visitor has proved who they are. A scanner looking for a vulnerable page gets the login page of Neti, or a decoy, and nothing else: the vulnerable code is never executed for them.

When Neti is the right tool

Industrial control panels and machines with a web interface
Supervision panels, HMI, PLC web pages, building automation, inverters, cameras, printers and other devices that must be consulted from outside but whose firmware is updated rarely or never. Behind Neti they are reachable only by the people you list, after a login with a one-time code, and their real address is never published.
Systems that must stay public but are seldom updated
Old management software, an accounting or ERP package on a version that cannot be upgraded, an application written years ago by a supplier that no longer exists. Neti does not fix their flaws, but it drastically reduces who can reach them: from "the whole Internet" to "the users on the list" or "the allowed countries".
Administration panels and internal tools
Back offices, dashboards, wikis, monitoring tools, test and staging environments: things that only a few people use and that should not be findable by anyone else.
Public websites that need a filter in front
A public site can be published without the gate, with HTTPS certificates managed by Neti, a country filter, a request limit and a maintenance page ready when you need it.
Servers without a public address
A server in an office, in a plant or at a customer's site connects to Neti with a WireGuard tunnel started from the inside: no port forwarding on the router, no static IP, no rule to ask to whoever manages the network.
Occasional technical access
SSH, remote desktop, a database port: instead of leaving them open, they are opened only for your address, for a few hours, after a code by email. See Remote access.

What it does

  • Multi-domain reverse proxy. Every published domain or subdomain is a service: you give the backend (IP address, port, http or https) and Neti publishes it over HTTPS. See Routing.
  • Hides the destination. Visitors, scanners and search engines only ever see the address of Neti. The backend receives connections from Neti alone and can refuse everything else.
  • Automatic HTTPS certificates (Let's Encrypt), obtained over HTTP or through the DNS provider of the domain; or uploaded by hand from any certification authority, also as a PFX file, with the chain put in order by Neti. See Certificates.
  • DNS management at Cloudflare and OVHcloud: Neti can create the records of the services and obtain certificates through the DNS, with credentials limited to each domain. See DNS.
  • Access gate. For the services that need it, visitors identify themselves with username, email and a one-time code before reaching the application; each service has its own list of users. Single addresses that must stay public (a webhook, an API) can be opened as exceptions with their own protections. See The gate.
  • Filtering. Profiles, assignable per service, that decide from which countries one may enter, how many requests are accepted, which networks are trusted, and that give every visitor a risk score from signals such as the kind of network, reputation lists and behavior. Ready presets and a guided procedure. See Filtering.
  • Decoy for suspicious visitors. Who scores too low lands on a fake login that never lets anyone in and records every attempt; repeat offenders can be banned at the firewall. See Honeypot.
  • Maintenance page. Every service starts in maintenance and goes to production when you decide; you can go back to maintenance with one click.
  • WireGuard hub. Backends can connect to Neti with an encrypted tunnel, so they need neither open ports nor a public IP. See Network & Tunnels.
  • Time-limited remote access. SSH, remote desktop, databases and other TCP services of the servers behind Neti open only for your IP address, for a few hours, after a code by email.
  • Defenses of the server itself. Firewall with automatic rollback when a change is not confirmed, fail2ban, automatic ban of bursts of requests, and optional components such as CrowdSec and the geolocation of IP addresses. See How Neti protects itself.
  • Monitoring. State of services and certificates, probes on the backends, traffic, connections, blocked attempts, and a record of every action done from the console.
  • Logs in one place. Certificates, sites, security, background jobs and system, with filter by domain, search and live update. See Logs.
  • Backups and updates from the console, with a stable and a preview channel. See Backup and Updates.

What it does not do

  • It does not host the sites. Contents and applications stay on your servers (the backends). Neti stands in front.
  • It does not repair a vulnerable application. It reduces who can reach it. An application with a flaw stays vulnerable for the people who are allowed in, and for everybody if you publish it without the gate and without filters.
  • It is not a web application firewall. Neti decides who may send requests, not whether the content of a request is an attack: it does not inspect request bodies looking for attack patterns. If you need that, keep a WAF in the chain.
  • It does not protect a backend that stays reachable by another road. If the backend keeps its own public address and open ports, anyone who finds it goes around Neti. After publishing a service, close the backend to everything except Neti (firewall rule, private network or tunnel).
  • It does not absorb large volumetric attacks. Request limits and bans stop aggressive clients, but a flood bigger than the server's connection needs a network in front, such as the proxy of Cloudflare, which Neti supports.
  • It publishes web applications only. Services are HTTP and HTTPS. Other protocols (SSH, remote desktop, databases, industrial protocols carried over TCP) are not published: they can only be opened for a limited time to a single address with Remote access.
  • It is not a VPN for people. The WireGuard hub connects backends to Neti; it is not meant to give users access to a whole network.
  • It does not manage email. It uses an existing SMTP server only to send access codes and notifications.
  • It does not replace backups and updates of your systems. Neti backs up and updates itself, not the backends.

How it is made, in short

 visitor ──HTTPS──▶  Neti (public IP)  ──http/https──▶  backend
                      │  certificates                    (directly, or inside
                      │  gate, filtering                  a WireGuard tunnel)
                      │  maintenance page
                      ▼
                management console (reserved port and path)

The visitor only knows the name of the service and the address of Neti. The backend only knows Neti. The console is on a different port and path from the published services and is never shown to visitors.

Where to start

  1. Check the requirements.
  2. Follow the installation: it is one command.
  3. Complete the guided setup in the console.
  4. Publish the first service.
  5. Read the key concepts: a few words that come back on every page.

Neti Free costs nothing and has some limits (5 services, 20 gate users per service, 1 administrator, 3 WireGuard clients); Neti Pro removes them and adds features and support: see License: Free and Pro.

How this guide is organized

  • Introduction: what Neti is, the words it uses, how it protects itself.
  • Getting started: requirements, installation, first access, the neti command.
  • Console reference: one page for every section of the console, in the order of the menu. Each box and each option of the console has its own paragraph.
  • Editions: the license, Neti Free and Neti Pro.
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.