Skip to content

Instantly share code, notes, and snippets.

@rajaduraicloud
Forked from iamcryptoki/fix-sysctl.txt
Created September 3, 2022 12:22
Show Gist options
  • Save rajaduraicloud/c240832ee062737b3b0c5e8a32462460 to your computer and use it in GitHub Desktop.
Save rajaduraicloud/c240832ee062737b3b0c5e8a32462460 to your computer and use it in GitHub Desktop.
Fix sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables.
$ modprobe bridge
$ echo "net.bridge.bridge-nf-call-iptables = 1" >> /etc/sysctl.conf
$ sysctl -p /etc/sysctl.conf
sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory
# SOLUTION
$ modprobe br_netfilter
$ sysctl -p /etc/sysctl.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment