base-files: fix OpenWrt with Docker will cause NAT loopback (#11588)

Fixed the problem that even if br-netfilter is disabled in package/kernel/linux/files/sysctl-br-netfilter.conf, NAT loopback will still fail. This applies to OpenWrt with Docker
This commit is contained in:
woOzZ2 2023-10-16 12:05:01 +08:00 committed by GitHub
parent 4bb635d3a0
commit daacfa7071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,6 @@
# Defaults are configured in /etc/sysctl.d/* and can be customized in this file
# disable bridge firewalling.(Fixed the problem that even if br-netfilter is disabled in package/kernel/linux/files/sysctl-br-netfilter.conf, NAT loopback will still fail. This applies to OpenWrt with Docker)
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0