readthefuckingmanual.net

[SOLVED] This machine has IP forwarding disabled and cannot relay traffic. Please enable IP forwarding on this machine to use relay features like subnets or exit nodes.

Error added: 2025-12-04T22:52:22Z

0 people waiting for the answer...

2 answers found.

Answer 2941 (100.0% helpful)

It seems as though just running
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
isn't enough.

This worked though:
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
sudo sysctl -p /etc/sysctl.d/99-tailscale.conf
Permalink

Answer 2943 (0.0% helpful)

Once you have enabled it, restart tailscaled.
Simply tailscale down and tailscale up doesn't seem to be enough.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: