Skip to content

Instantly share code, notes, and snippets.

@i40sys
Created March 1, 2022 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i40sys/bb57dbd9504d34fc99ba80ae79640285 to your computer and use it in GitHub Desktop.
Save i40sys/bb57dbd9504d34fc99ba80ae79640285 to your computer and use it in GitHub Desktop.
#!/bin/sh
/usr/bin/zerotier-cli set abfd31bd477449b6 allowDefault=0
/usr/bin/zerotier-cli set abfd31bd477449b6 allowManaged=0
echo "0" > /proc/sys/net/bridge/bridge-nf-call-iptables
iptables -A FORWARD -p all -i br-br0 -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment