mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-05 18:44:03 +08:00
Update dockerd.patch
This commit is contained in:
1 parent
eede48c218
commit
82c73cc584
1 file changed
+3
-4
@@ -51,10 +51,10 @@
|
|||||||
|
|
||||||
--- a/dockerd/files/dockerd.init
|
--- a/dockerd/files/dockerd.init
|
||||||
+++ b/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].output="ACCEPT"
|
||||||
uci_quiet set firewall.@zone[-1].forward="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.dockerd=forwarding
|
||||||
+ uci_quiet set firewall.@forwarding[-1].src="${zone}"
|
+ uci_quiet set firewall.@forwarding[-1].src="${zone}"
|
||||||
+ uci_quiet set firewall.@forwarding[-1].dest='wan'
|
+ uci_quiet set firewall.@forwarding[-1].dest='wan'
|
||||||
@@ -64,11 +64,10 @@
|
|||||||
|
|
||||||
--- a/dockerd/files/etc/config/dockerd
|
--- a/dockerd/files/etc/config/dockerd
|
||||||
+++ b/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.
|
# then docker restarted to load in new changes.
|
||||||
config firewall 'firewall'
|
config firewall 'firewall'
|
||||||
option device 'docker0'
|
option device 'docker0'
|
||||||
- list blocked_interfaces 'wan'
|
- list blocked_interfaces 'wan'
|
||||||
+# list blocked_interfaces 'wan'
|
+# list blocked_interfaces 'wan'
|
||||||
# option extra_iptables_args '--match conntrack ! --ctstate RELATED,ESTABLISHED' # allow outbound connections
|
# option extra_iptables_args '--match conntrack ! --ctstate RELATED,ESTABLISHED' # allow outbound connections
|
||||||
|
|
||||||
Reference in new issue
Block a user