Allow wildcard rule access host public IP ports

This commit is contained in:
2026-10-07 11:28:41 +01:00
parent c42f0440ac
commit b6f7eb0c75
4 changed files with 172 additions and 5 deletions
@@ -205,6 +205,7 @@ export default async function setupWireguardHost({
clients: clients.map((client) => ({
id: client.id,
wg_ip_address: client.wg_ip_address,
allow_all_ips: client.allow_all_ips == 1,
rules:
client.id && typeof client.id == "number"
? rules_by_client_id.get(client.id) || []