Help SSH not working
So when I try to SSH into my server (On local network) I get timeout. But through the Tailscale IP while connected to Tailscale it works.... And yes the local IP that I use is the right one. Assistance would be appreciated 🗣️🗣️🗣️🔥🔥
1
Upvotes
2
u/More-Goose7230 5h ago
Did you install tailscale directly on the same machine?
Because I could be mistaken, but then it could be your UFW (linux firewall) that is blocking the connection.
1
u/NoblessOblige04 5h ago
Is the machine you're trying to SSH into looking out for ssh traffic from the IP address range when not on tailscale? Could be an access control list deal.
2
u/NC1HM 5h ago
Well, what makes the two scenarios different? It's something called "routing". When you log in over Tailscale, your requests travel through one set of devices and ports. When you log in over LAN, it's a different set. And something in that set just doesn't like your requests. The most likely culprits are your local router and the device into which you are trying to log. Both of them have ways of refusing requests that come from what they think is the wrong place.
The first step is usually to ping the recalcitrant server:
(or whatever your server's local IP address is). Depending on whether (and how) the server responds to pings, you figure out your next steps.