Update README

This commit is contained in:
Arnaud 2026-05-19 17:29:16 +04:00
parent 5a3600278f
commit a7016abdc1
No known key found for this signature in database
GPG Key ID: A6C7C781817146FA

View File

@ -89,8 +89,10 @@ Basic tests run without a router:
nimble test
```
Integration tests run miniupnpd inside a Docker/Podman container and exercise the PCP and UPnP-IGD flows.
Podman or Docker as fallback will be used for testing with `NET_ADMIN` capability:
Integration tests run miniupnpd inside a Docker/Podman container and exercise the PCP, NAT-PMP, and UPnP-IGD flows.
The container needs `NET_ADMIN` to create a dummy network interface (`plum-wan`) with a public IP (1.2.3.4).
This is required because miniupnpd [disables port forwarding when the external interface has a private/RFC1918 address](https://github.com/miniupnp/miniupnp/blob/d66872e34d9ff83a07f8b71371b13419b2089953/miniupnpd/miniupnpd.c#L1160-L1193), which would be the case for any container network interface.
Tests run inside the container (not with `--network host`) so the dummy interface and route changes stay isolated from the host network.
```bash
nimble testIntegration