Tailscale networking not working.

Hello, I can't seem to get networking to work at all. Despite having an exit-node setup.
No description
No description
41 Replies
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
I've tried a ton of different things
Yuri
Yuri•2mo ago
do you have ip forwarding enabled in your exit node? cat /proc/sys/net/ipv4/ip_forward
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
it says 1 I didn't see ip forwarding documented on the exit node tailwind documentation
Yuri
Yuri•2mo ago
1 means that it is enabled, so the issue is something else
Yuri
Yuri•2mo ago
can you show the content of the "Edit route settings" screen?
No description
Yuri
Yuri•2mo ago
for the exit node
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
No description
No description
Yuri
Yuri•2mo ago
that also looks fine... are you able to use the device as an exit node from another client? like your phone for example or another pc
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
let me try with my phone
Yuri
Yuri•2mo ago
a good test is to disable wifi on the phone, route all traffic through tailscale, and check that the external ip is seen as the same as your exit node, for example using https://www.whatismyip.com/
WhatIsMyIP.com®
What Is My IP?
Check the IP address assigned to your device. Show my IP city, state, and country. What Is An IP Address? IPv4, IPv6, public IP explained.
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
strangely enough it works with my android phone
Yuri
Yuri•2mo ago
then it might be an actual issue with WebVM... would you mind trying again by refreshing the tab and logging in again?
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
well sort of
No description
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
ive done that a bunch of times and with diff browsers
Yuri
Yuri•2mo ago
wait, do you mean that you tried to use the phone as an exit node?
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
using the phone as an exit node worked for the curl script example
Yuri
Yuri•2mo ago
I see. I was suggesting to use the phone as the user of the previous exit node, to make sure it was working correctly, without WebVM in the picture
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
oh sorry, i understand
Yuri
Yuri•2mo ago
about the could not resolve issue, try the command a few times. I noticed that DNS is very sensitive to losing a few packets and that happens sometimes
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
No description
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
my tailwind setup must be cursed as hell
Yuri
Yuri•2mo ago
yeah so there is some issue with the exit node itself, but I am not sure how to help with that beyond what I initially suggested.
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
this?
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
well atleast it works with my phone
No description
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
this is really cool tbh
Yuri
Yuri•2mo ago
I suggest trying to debug the issue without WebVM in the picture, so that you can ask help from Tailscale too. I think that we established that the WebVM side works, and that there is something wrong with the exit node setup on your pc
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
okay dude WTF
No description
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
this is actually so sick ill figure out the exit node situation later for now im gonna mess with this this is cool man
Yuri
Yuri•2mo ago
appreciated 🙂
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
see like i can see the use case for this being like oh i need to quickly compile and test a script for linux and your main OS is windows instead of using WSL you can just type webvm.io connect tailscale in 2 seconds then clone into whatever right
Yuri
Yuri•2mo ago
yeah that is a use case we have in mind. A similar situation is if you have a locked chromebook (like many schools give to students)
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
thats even smarter actually
Yuri
Yuri•2mo ago
If the issue is solved, I invite you to continue the conversation on https://discord.com/channels/988743885121548329/988744244967653396
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
okay i just got it working through my laptop
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
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
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
Tailscale
Subnet routers · Tailscale Docs
Learn how to relay traffic from your Tailscale network onto your physical subnet.
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
the reason ip_forward was enabled was because of my previous wireguard configuration im pretty sure
Yuri
Yuri•2mo ago
ah so the ipv6 forwarding was missing?
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
ipv6 didnt really change anything, difference was the existance of a 99-tailscale.conf file im pretty sure let me actually try removing ipv6 forwarding to try testing
Yuri
Yuri•2mo ago
thanks, might be useful for helping future troubleshooting
HX MutantRabbit767
HX MutantRabbit767OP•2mo ago
okay yeah, ipv6 forwarding was not the issue thanks for setting me down the right troubleshooting path 🔥
Yuri
Yuri•2mo ago
you are welcome 🙂
Want results from more Discord servers?
Add your server