dockerd: fix bridge network

This commit is contained in:
sbwml
2022-12-09 13:01:48 +08:00
committed by sbwml
parent 876aea333c
commit 994670cb79
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -91,6 +91,9 @@ uciadd() {
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'
uci_quiet commit firewall
fi