chore: set up UNCLOUD-INPUT iptables chain and allow WireGuard traffic to the machine

This commit is contained in:
Pavel Sviderski
2025-05-05 14:50:33 +10:00
parent 0b8495e964
commit 6e326277bb
3 changed files with 80 additions and 3 deletions
+3 -2
View File
@@ -3,11 +3,12 @@ package docker
import (
"context"
"fmt"
"log/slog"
"net/netip"
dnetwork "github.com/docker/docker/api/types/network"
"github.com/docker/docker/client"
"github.com/docker/docker/libnetwork/iptables"
"log/slog"
"net/netip"
"github.com/psviderski/uncloud/internal/machine/network"
)