Last active
June 23, 2025 21:18
-
-
Save ph1048/f76df8f06186ffb6febec89ae204e5e0 to your computer and use it in GitHub Desktop.
Keenetic Tailscale rules re-apply automation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Place here: /opt/etc/ndm/netfilter.d/ts.sh | |
[ "$table" == "mangle" ] && exit 0 | |
[ -e /opt/var/run/tailscale/tailscaled.sock ] || exit 0 | |
tailscale set --netfilter-mode=off && tailscale set --netfilter-mode=on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment