From 096648403ead0b8469af8b2b0a302c3d39894241 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Fri, 20 Mar 2026 14:11:21 +0800 Subject: [PATCH] Update dockerd.patch --- .github/diy/patches/dockerd.patch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/diy/patches/dockerd.patch b/.github/diy/patches/dockerd.patch index e8a681aea..820fc3554 100644 --- a/.github/diy/patches/dockerd.patch +++ b/.github/diy/patches/dockerd.patch @@ -51,10 +51,10 @@ --- a/dockerd/files/dockerd.init +++ b/dockerd/files/dockerd.init -@@ -91,6 +91,9 @@ uciadd() { +@@ -36,6 +36,9 @@ uciadd() { + uci_quiet set firewall.@zone[-1].input="ACCEPT" uci_quiet set firewall.@zone[-1].output="ACCEPT" uci_quiet set firewall.@zone[-1].forward="ACCEPT" - uci_quiet set firewall.@zone[-1].name="${zone}" + uci_quiet set firewall.dockerd=forwarding + uci_quiet set firewall.@forwarding[-1].src="${zone}" + uci_quiet set firewall.@forwarding[-1].dest='wan' @@ -64,11 +64,10 @@ --- a/dockerd/files/etc/config/dockerd +++ b/dockerd/files/etc/config/dockerd -@@ -34,5 +34,5 @@ config globals 'globals' +@@ -42,5 +42,5 @@ config proxies 'proxies' # then docker restarted to load in new changes. config firewall 'firewall' option device 'docker0' - list blocked_interfaces 'wan' +# list blocked_interfaces 'wan' # option extra_iptables_args '--match conntrack ! --ctstate RELATED,ESTABLISHED' # allow outbound connections -