feature: the CA certificates and CRLs are always published over HTTP and HTTPS on the status and Manager ports, the Shell page is an entry of the page menu, and the web interface passes its lint.
Release / release (push) Successful in 26s

This commit is contained in:
slawek committed 2026-11-24 18:06:34 +01:00
1 parent 4b5318c676
commit 0cec95c19b
72 files changed
+910 -861

No files matched your search

+4 -4
View File
@@ -126,7 +126,7 @@ it running. The VM is created in a project, the test project `lm-dev` by default
project's default profile, and takes its address from DHCP. It gets the package with the
administrator `admin`, whose password and TOTP token, unless `--no-otp` is given, are `password` and
`otp_url` of `.lm-dev-config/vm-<project>-<vm>.json`, and a configuration from `configs/`,
`core.json` by default; `@ETH0@` is the interface of the VM's default route. A password or
`dev.json` by default; `@ETH0@` is the interface of the VM's default route. A password or
`otp_url` the file lacks, or both when there is no file, is generated and kept in the file, so a VM
made again has the same password and token; delete one from the file to have a new one made.
@@ -135,8 +135,8 @@ repository, so later dev builds reach it as updates; in another project it insta
else the package built last, in `out/` or `out/dev/`. The leased address is pinned on the VM's NIC, and these ports lead
to the VM:
- `7080` to the Manager;
- `7081` to the status web service;
- `7080` and `7443` to the Manager, over HTTP and HTTPS;
- `7081` and `7444` to the status web service, over HTTP and HTTPS;
- `2222` to SSH, port `22`.
In a test project they lead through a network forward on the project's `wan`, whose listen address
@@ -168,7 +168,7 @@ generate it. `remove` deletes the VM, its forward and what the Vault keeps for i
| `--project` | `LXD_PROJECT` | `lm-dev` | The project of the VM |
| `--vm` | | `router` | The name of the VM; it must not exist for `create` |
| `--image` | `LXD_IMAGE` | `ubuntu:26.04` | The image of the VM |
| `--config` | | `core.json` | The configuration from `configs/` |
| `--config` | | `dev.json` | The configuration from `configs/` |
| `--listen` | `LXD_LISTEN` | the remote URL's host | Outside a test project, the address the proxies listen on |
| `--forward-address` | `LXD_FORWARD_ADDRESS` | allocated | In a test project, the forward's listen address, one of the uplink's routes, so a recreated VM keeps it |
| `--no-otp` | | off | With `create`, enrol no TOTP token for `admin` |
+2 -5
View File
@@ -1,8 +1,5 @@
{
"general": {"platform": "generic", "mode": "manual"},
"router": {"enabled": false},
"vpn": {"enabled": false},
"general": {"platform": "generic"},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-core.test"},
"https": {"enabled": false}
"wan": {"local_fqdn": "lm-core.test"}
}
+5
View File
@@ -0,0 +1,5 @@
{
"general": {"platform": "generic"},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-dev.test"}
}
+2 -7
View File
@@ -1,11 +1,6 @@
{
"general": {"platform": "generic", "mode": "manual"},
"router": {"enabled": false},
"vpn": {"enabled": false},
"general": {"platform": "generic"},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-nat.test"},
"local": {"cidrs": ["@CIDR0@"]},
"wireguard": {"enabled": false, "address": "10.66.0.1/24", "listen_port": 51820},
"openvpn": {"enabled": false, "address_pool": "10.67.0.0/24", "port": 1194, "protocol": "udp"},
"https": {"enabled": false}
"local": {"cidrs": ["@CIDR0@"]}
}
+3 -5
View File
@@ -1,11 +1,9 @@
{
"general": {"platform": "generic", "mode": "manual"},
"router": {"enabled": false},
"general": {"platform": "generic"},
"vpn": {"enabled": true},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-nat.test"},
"local": {"cidrs": ["@CIDR0@"]},
"wireguard": {"enabled": true, "address": "10.66.0.1/24", "listen_port": 51820},
"openvpn": {"enabled": true, "address_pool": "10.67.0.0/24", "port": 1194, "protocol": "udp"},
"https": {"enabled": false}
"wireguard": {"enabled": true, "address": "10.66.0.1/24"},
"openvpn": {"enabled": true, "address_pool": "10.67.0.0/24"}
}
+1 -4
View File
@@ -1,9 +1,6 @@
{
"general": {"platform": "generic", "mode": "manual"},
"router": {"enabled": false},
"vpn": {"enabled": false},
"general": {"platform": "generic"},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-oidc.test"},
"https": {"enabled": true, "certificate": "ca"},
"oidc": {"enabled": true}
}
-11
View File
@@ -1,11 +0,0 @@
{
"general": {"platform": "generic", "mode": "manual"},
"router": {"enabled": false},
"vpn": {"enabled": true},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-offline.test"},
"local": {"cidrs": ["@CIDR0@"]},
"openvpn": {"enabled": true, "address_pool": "10.67.0.0/24", "port": 1194, "protocol": "udp"},
"pki": {"root": "offline"},
"https": {"enabled": false}
}
-11
View File
@@ -1,11 +0,0 @@
{
"general": {"platform": "generic", "mode": "manual"},
"router": {"enabled": false},
"vpn": {"enabled": true},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-simple-ca.test"},
"local": {"cidrs": ["@CIDR0@"]},
"openvpn": {"enabled": true, "address_pool": "10.67.0.0/24", "port": 1194, "protocol": "udp"},
"pki": {"root": "simple-ca", "simple_ca_url": "https://10.188.96.4:8443"},
"https": {"enabled": false}
}
+3 -5
View File
@@ -1,14 +1,12 @@
{
"general": {"platform": "generic", "mode": "manual"},
"router": {"enabled": false},
"general": {"platform": "generic"},
"vpn": {"enabled": true},
"interfaces": {"external": "@ETH0@"},
"wan": {"local_fqdn": "lm-s2s-a.test"},
"local": {"cidrs": ["172.31.31.0/24"]},
"site_to_site": {
"to-b": {"addrs": ["172.31.20.20"], "id": "lm-s2s-b.test", "cidrs": ["172.31.32.0/24"],
"local_cidrs": ["172.31.31.0/24"], "local_id_mode": "fqdn", "auth": "psk", "psk": "@PSK@"}
"local_cidrs": ["172.31.31.0/24"], "psk": "@PSK@"}
},
"wireguard": {"enabled": true, "address": "10.66.0.1/24", "listen_port": 51820},
"https": {"enabled": false}
"wireguard": {"enabled": true, "address": "10.66.0.1/24"}
}
+3 -4
View File
@@ -1,5 +1,5 @@
{
"general": {"platform": "generic", "mode": "manual"},
"general": {"platform": "generic"},
"router": {"enabled": true},
"vpn": {"enabled": true},
"interfaces": {"external": "@ETH0@", "internal": "@ETH1@"},
@@ -7,8 +7,7 @@
"local": {"cidrs": ["172.31.31.0/24"], "int_addr": "172.31.21.10", "int_gateway_ip": "172.31.21.20"},
"site_to_site": {
"to-b": {"addrs": ["172.31.20.20"], "id": "lm-s2s-b.test", "cidrs": ["172.31.32.0/24"],
"local_cidrs": ["172.31.31.0/24"], "local_id_mode": "fqdn", "auth": "psk", "psk": "@PSK@"}
"local_cidrs": ["172.31.31.0/24"], "psk": "@PSK@"}
},
"wireguard": {"enabled": true, "address": "10.66.0.1/24", "listen_port": 51820},
"https": {"enabled": false}
"wireguard": {"enabled": true, "address": "10.66.0.1/24"}
}
+3 -5
View File
@@ -1,13 +1,11 @@
{
"general": {"platform": "generic", "mode": "manual"},
"general": {"platform": "generic"},
"router": {"enabled": true},
"vpn": {"enabled": false},
"interfaces": {"external": "@ETH0@", "internal": "@ETH1@"},
"wan": {"local_fqdn": "lm-s2s-b.test"},
"local": {"cidrs": ["172.31.32.0/24"], "int_addr": "172.31.22.10", "int_gateway_ip": "172.31.22.20"},
"site_to_site": {
"to-a": {"addrs": ["172.31.20.10"], "id": "lm-s2s-a.test", "cidrs": ["172.31.31.0/24"],
"local_cidrs": ["172.31.32.0/24"], "local_id_mode": "fqdn", "auth": "psk", "psk": "@PSK@"}
},
"https": {"enabled": false}
"local_cidrs": ["172.31.32.0/24"], "psk": "@PSK@"}
}
}