Skip to content

Instantly share code, notes, and snippets.

@Pavel-Sayekat
Forked from iamcryptoki/fix-sysctl.txt
Created July 15, 2025 10:09
Show Gist options
  • Save Pavel-Sayekat/5b7862794dabb7b273f69a34495a284d to your computer and use it in GitHub Desktop.
Save Pavel-Sayekat/5b7862794dabb7b273f69a34495a284d 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