Commit a99301b
auto-detect Tailscale and add iptables rule to prevent routing loop
When wolfnet starts and detects tailscaled running, it adds an iptables
OUTPUT rule to block Tailscale WireGuard traffic (port 41641) from being
routed into the wolfnet subnet. This prevents a feedback loop where
Tailscale routes its own tunnel traffic through wolfnet, which sends it
back through Tailscale, causing both to spike to 90%+ CPU.
The rule is idempotent (checks before adding) and only targets Tailscale's
WireGuard port — wolfnet traffic on its own port is unaffected.
Bumps to 0.5.17.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8f25240 commit a99301b
3 files changed
Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
129 | 149 | | |
130 | 150 | | |
131 | 151 | | |
| |||
0 commit comments