Skip to content

Instantly share code, notes, and snippets.

@iamcryptoki
Created July 29, 2019 09:20
Show Gist options
  • Save iamcryptoki/ed6925ce95f047673e7709f23e0b9939 to your computer and use it in GitHub Desktop.
Save iamcryptoki/ed6925ce95f047673e7709f23e0b9939 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
@MrKing8810
Copy link

Thanks !

@hariharanep4
Copy link

Thanks!

@brian-lamb-software-engineer

yep forgot to modprobe the br_netfilter apparently. thanks.

@DuyAccel
Copy link

DuyAccel commented Nov 2, 2024

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment