feature: the VPN, the router, the name server and WebDAV are components switched on the System tab and installed on demand, Caddy from the Ubuntu archive is a dependency and serves every HTTP and HTTPS port, HTTPS is chosen at install, its certificate is of the Servers Issuing CA or self-signed by default, of ACME or of another CA, the issuing CAs are in one tab, a locked account is unlocked again, the name of a CA is fixed once the CA exists, and a run of setup is no longer cut short by a change.
Release / release (push) Failing after 8s

This commit is contained in:
slawek committed 2026-11-24 05:51:27 +01:00
1 parent a649331aa2
commit a7bfabcb89
97 files changed
+4498 -1834

No files matched your search

+49 -13
View File
@@ -1,19 +1,27 @@
# Certificates
The server's CA: a root CA and issuing CAs that sign the certificates. The root is created by the
server, an offline CA, or the root of a Simple CA service whose issuing CA signs the server's
issuing CAs; that is chosen at setup and fixed once the root exists.
The server's HTTPS certificate and its CA: a root CA and issuing CAs that sign the certificates.
The root is created by the server, an offline CA, or the root of a Simple CA service whose issuing
CA signs the server's issuing CAs; that is chosen at setup and fixed once the root exists.
## Above the tabs
Issue and Settings are on every tab but Server.
- **Issue:** a certificate from a CSR, saved with its chain, or with a key the server makes, saved
as a PFX file protected by a password; the server keeps no copy of the key.
- **Settings:** the names, lifetimes, key type, CRL validity, publishing endpoints and, with a
Simple CA root, the URL of the service.
- **Settings:** the names of the P2S and S2S CAs while they do not exist yet, the lifetimes, key
type, CRL validity, publishing endpoints and, with a Simple CA root, the URL of the service.
- **Warnings:** what needs attention, such as a CRL about to expire.
## Tabs
- **Server:** the first tab, shown also while the PKI cannot be read: HTTPS and the name it is
for, with a chip while the server's certificate has a source other than ACME, and a settings
button; the server's certificate, when it is not ACME's, with its issuer and expiry; the ACME
CA, with a chip while it is Let's Encrypt's staging environment, and a settings button (see
Server HTTPS below); and Caddy, which serves every HTTP and HTTPS port of the server, with its
version and the state of `caddy.service`.
- **Root:** the root CA's source, state, subject, expiry and CRL, and with Simple CA its issuing
CA that signs the server's and the expiry of the token. **Download root CA** gives its
certificate. An offline root takes its certificate with **Import root certificate**, before the
@@ -24,11 +32,39 @@ issuing CAs; that is chosen at setup and fixed once the root exists.
**Reset** for a changed built-in one.
- **Extended key usages:** the usages templates may give, with their OIDs; custom ones are added
with a name and an OID.
- **P2S Issuing CA** and **S2S Issuing CA:** the CAs of the VPN users and of site-to-site
connections. An active CA gives its CA bundle; a pending CA, waiting for the offline root, gives
its CSR and takes the certificate the root signed, and one waiting for Simple CA is signed once
the server reaches it.
- **Issuing CAs:** general-purpose CAs, each with its templates and an optional ACME server.
**Add issuing CA**, **Edit** and **Remove**; a removed CA is retired and its certificate revoked.
- **Certificates:** each with its kind, template, names, expiry and state; one of another system
or of the server is revoked after a confirmation with a reason.
- **Issuing CAs:** the built-in CAs, P2S for the VPN users, S2S for site-to-site connections and
the Servers Issuing CA `servers` for mTLS certificates and the server's HTTPS certificate, and the
custom CAs, each with its templates and an optional ACME server. P2S is off while the VPN is,
and S2S while the router is, until they are switched on. An active CA gives its CA
bundle; a pending CA, waiting for the offline root, gives its CSR and takes the certificate the
root signed, and one waiting for Simple CA is signed once the server reaches it. **Add issuing
CA**, **Edit** and **Remove** are for the custom CAs; a removed CA is retired and its
certificate revoked. The common name of a CA is fixed once the CA has its certificate or CSR:
a CA with another name is a new CA, added under a new name. Below, the certificates of all of
them, filtered by CA, each with its kind, template, names, expiry and state; one of another
system or of the server is revoked after a confirmation with a reason.
## Server HTTPS
The settings button of the HTTPS row sets the **certificate of the server**: ACME; self-signed,
with its validity in days; the Servers Issuing CA of the server's PKI; or another CA. Until the
chosen certificate is available, the server serves a self-signed one and warns.
The source is self-signed unless the configuration names another; ACME is used only when it is
chosen. The first setup of a new installation chooses the Servers Issuing CA when the root CA and
that CA are available, as with a root the server creates, else self-signed.
While HTTPS is on, the Manager's plain HTTP address redirects to its HTTPS address, unless the
installer's `https_disable_auto_redirect` or `https.disable_auto_redirect` says otherwise; the
status page never redirects.
The settings button of the ACME CA row sets the ACME CA of the server's certificate with ACME, and
of the web sites with TLS ACME: Let's Encrypt, with **Staging environment** for routers rebuilt
often, whose certificates no browser trusts; ZeroSSL, with an optional API key; or a custom ACME
directory URL, such as HashiCorp Vault, Caddy or Simple CA, with optional EAB credentials. The CA
of a custom directory's HTTPS certificate is in the server's trust store.
With another CA, the HTTPS certificate row has **Generate CSR**, which saves a CSR for the
server's name, **Import certificate**, which takes the certificate signed for it followed by its
chain, and **Import PFX**, which takes a PFX file and its password. Saving and importing run the
server's setup again, which applies the change. The other HTTPS settings are changed on the
server with `linux-manager-config-edit`.
+9 -8
View File
@@ -1,19 +1,20 @@
# DNS
The server's name server (PowerDNS), the primary of the server's domains. Every domain has the
same two name servers: the server's FQDN and a secondary name server. The [web sites](sites.md)
whose DNS is Router managed get their records in the domain they are in.
The server's name server (PowerDNS), the primary of the server's domains, on a page of its own,
in the page menu while the name server is on. Every domain has the same name servers: the server's
FQDN and, when one is set, a secondary name server. The [web sites](sites.md) whose DNS is Router
managed get their records in the domain they are in.
## Settings
- **State:** disabled, running, or not running yet; the server installs PowerDNS when it is
enabled.
- **State:** disabled, running, or not running yet. The name server is switched on the
[System](system.md) tab, which installs PowerDNS.
- **Primary name server:** the server's FQDN, the SOA and the first NS of every domain. It is the
server's name and is not edited here; its own A record is kept by the DNS of its domain,
wherever that is, not by the server's domains.
- **Secondary name server:** the second NS of every domain, required while the name server is
enabled. The server notifies the addresses it resolves to of every change and allows them to
transfer the domains.
- **Secondary name server:** the second NS of every domain, optional; without it the server's FQDN
is the domains' only name server. The server notifies the addresses it resolves to of every
change and allows them to transfer the domains.
- **Public IP address:** the server's public IP, which the records of the sites with Public IP
take; empty when the server has none or no site uses it.
- **Listen:** the interfaces port 53 is open on. While IKEv2 or OpenVPN remote access is enabled,
+3 -3
View File
@@ -4,9 +4,9 @@ The Ubuntu Linux Manager shows the state of a server running the `linux-manager`
its users, connections, certificates and services. Members of the server's group `admins` see all
pages; any other user sees only their own account.
The router and the VPN are components switched on in the server's configuration (`router.enabled`
and `vpn.enabled`). While the VPN is off the page menu has no Remote Access page; while the router
is off the Connectivity page shows only its Network tab. Without Docker on the server the page menu
The VPN, the router, the name server and WebDAV are components switched on the
[System](system.md) tab, which installs their software. While the VPN is off the page menu has no
Remote Access page; while the router is off the Connectivity page shows only its Network tab. Without Docker on the server the page menu
has no Docker page.
The help opens at the topic of the page you are on. Links between topics open in this panel;
+3 -3
View File
@@ -3,9 +3,9 @@
A tab each for IKEv2, OpenVPN and WireGuard access: the settings, whether the server
runs the system, why an enabled one does not run yet, and the connected clients.
The page is there while the VPN component is on (`vpn.enabled`). While the router component is
off, the clients reach the networks of `local.cidrs` through NAT from the server's address, on
its one interface; while it is on, they are routed with their own addresses.
The page is there while the VPN component is on, switched on the [System](system.md) tab. While
the router component is off, the clients reach the networks of `local.cidrs` through NAT from the
server's address, on its one interface; while it is on, they are routed with their own addresses.
## Edit
+1 -17
View File
@@ -8,10 +8,7 @@ The Overview tab shows the state of the server, read every 10 seconds by default
- **Status:** the overall status, ok or degraded, on its title bar; the installed version of
`linux-manager` and, when the repository has a newer one, that version;
IKEv2, OpenVPN and WireGuard; the status web service and its port; HTTPS and the name it is for,
with a chip while the certificates come from Let's Encrypt's staging CA and a settings button
(see HTTPS settings below); and Caddy, its HTTPS proxy, with its version, where it comes from (Ubuntu or upstream) and the
state of `caddy.service`.
IKEv2, OpenVPN and WireGuard; and the status web service and its port.
- **Services:** the state of each of the server's systemd services and of Caddy; the chip on the
title bar tells whether the server's services are active.
- **Addresses:** links to the status page over HTTPS and over plain HTTP, and to the
@@ -23,19 +20,6 @@ The Overview tab shows the state of the server, read every 10 seconds by default
- **Configuration:** the sections of the server's configuration the other pages do not show,
among them the status web service (`web`) and HTTPS (`https`).
Caddy is switched to upstream's packages on the server as root with
`linux-manager-caddy use-upstream`.
## HTTPS settings
The settings button of the HTTPS row switches **Let's Encrypt staging CA**. While it is on, Caddy
takes every certificate, the web sites' included, from Let's Encrypt's staging environment, whose
rate limits are far higher but whose certificates no browser trusts: it is for routers that are
rebuilt often, for tests only. While it is off, Caddy takes its certificates from Let's Encrypt,
and from ZeroSSL when Let's Encrypt refuses, such as for its limit of 5 certificates a week for the
same name. Saving runs the server's setup again, which applies the change. The other HTTPS
settings are changed on the server with `linux-manager-config-edit`.
## Updates
- **Check update** asks the server's package repository for newer versions.
+12 -9
View File
@@ -1,16 +1,17 @@
# Web sites
Static web sites that Caddy serves on the server, each from its own folder,
`/var/lib/linux-manager/sites/<name>`. The files of a site are on the [Files](site-files.md) tab, and
the name server of their domain on the [DNS](dns.md) tab.
`/var/lib/linux-manager/sites/<name>`. The files of a site are on the [Files](site-files.md) tab,
and the name server of their domain on the [DNS](dns.md) page.
## Settings
- **State:** whether the sites are served.
- **Largest upload:** the largest file or zip archive the Files tab and the server's API take.
- **WebDAV:** whether the folders are served over WebDAV, and its URL with a copy icon.
- **WebDAV:** whether the folders are served over WebDAV, and its URL with a copy icon. WebDAV is
switched on the [System](system.md) tab, which installs rclone.
**Settings** edits them.
**Settings** edits the state, the largest upload and the WebDAV port.
## Columns
@@ -18,12 +19,12 @@ the name server of their domain on the [DNS](dns.md) tab.
name on its port.
- **Port** and **Listen:** the TCP port, and the interfaces its firewall opens: internal,
external or both.
- **TLS:** None (plain HTTP), Let's Encrypt, an issuing CA of the Certificates page, or a
certificate and key given with the site.
- **TLS:** None (plain HTTP), ACME, from the CA set on the Server tab of the Certificates page,
an issuing CA of the same page, or a certificate and key given with the site.
- **Editors:** the group whose members may change the files besides the admins.
- **DNS:** who serves the records of the host names. **User managed:** a DNS provider outside the
router. **Router managed:** the server's name server gives each host name an A or AAAA record in
its domain on the [DNS](dns.md) tab, with the server's **Public IP** (the Public IP address of
its domain on the [DNS](dns.md) page, with the server's **Public IP** (the Public IP address of
the DNS settings), **Internal interface IP** or **External interface IP**. A host name in none of
the server's domains gets no record.
@@ -39,9 +40,11 @@ the DNS of its domain.
## Rules
- The server's own ports, such as 22, 7081, 7443, 7444 and 7445, cannot be taken by a site.
- The server's own ports, such as 22, 7080, 7081, 7443, 7444 and 7445, and the loopback ports of
its services, 7090, 7091 and 9474, cannot be taken by a site.
- Sites sharing a port need host names of their own, the same Listen and the same kind of TLS.
- Let's Encrypt needs host names that resolve to the server from the internet, and port 80.
- ACME with a public CA needs host names that resolve to the server from the internet, and port
80.
- A certificate and key must belong together and name the host names.
- An issuing CA's certificates are trusted by browsers that trust the server's root CA.
+17 -1
View File
@@ -1,6 +1,6 @@
# System
The System tab manages the server's operating system.
The System tab manages the server's operating system and its installable components.
## System updates
@@ -15,3 +15,19 @@ The System tab manages the server's operating system.
- A reboot is offered when a package asks for one, as after a new kernel.
- Only one upgrade runs at a time: this one or the upgrade of `linux-manager` on the
[Overview](router.md) tab.
## Components
- The panel lists the **VPN** (IKEv2, OpenVPN and WireGuard), the **Router** (routing between two
interfaces and site-to-site IPsec), the **Name server** (PowerDNS) and **WebDAV** (the sites'
folders), each on or off, with its packages not installed, installing, installed or failed.
- **Enable** switches a component on. The server installs its packages from the Ubuntu archive,
which takes a minute or so, and then runs it; the panel follows the installation.
- **Disable** switches a component off after a confirmation. Its settings and its packages are
kept. The VPN cannot be switched off while IKEv2, OpenVPN or WireGuard is enabled, nor the
router while site-to-site connections exist.
- The router needs a second network interface: without one it is shown unavailable. Its
**Enable** asks for the internal interface and, in `manual` mode, its address with the prefix
length and the gateway of the internal network.
- A failed installation shows **Enable** again, which tries once more; the
[Logs](logs.md) tab has the output of `linux-manager-install@<component>`.