From e40a63f465bf2ad045afd054b7a27ffe8eed5296 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 12 Sep 2025 17:17:30 +0200 Subject: Fix the testing of gateway role in containers/CI --- roles/gateway/README.md | 4 ++-- roles/gateway/tasks/main.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'roles/gateway') diff --git a/roles/gateway/README.md b/roles/gateway/README.md index 97ebf682..ee6488c4 100644 --- a/roles/gateway/README.md +++ b/roles/gateway/README.md @@ -82,8 +82,8 @@ journalctl -u gateway-direct-mode.service -f ```bash # Verify iptables rules -iptables -L -n -v -iptables -t nat -L -n -v +sudo iptables -L -n -v +sudo iptables -t nat -L -n -v # Check WireGuard interface detection ip link show | grep wg diff --git a/roles/gateway/tasks/main.yml b/roles/gateway/tasks/main.yml index f0bdb4d4..a571dd52 100644 --- a/roles/gateway/tasks/main.yml +++ b/roles/gateway/tasks/main.yml @@ -5,6 +5,7 @@ name: - "iptables" - "iproute2" + - "udev" state: "present" - name: "Configure IP forwarding" -- cgit v1.2.3