tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
17.59k stars 1.35k forks source link

FR: Accessing DERP servers over direct IP / over exit nodes #11789

Open dolceAlka opened 2 months ago

dolceAlka commented 2 months ago

What are you trying to do?

Tailscale has recently been blocked by fortiguard under the remote acccess category, which breaks tailscale usage by blocking access to the controlplane. My current workaround is to use my phone to fetch the controlplane and then connect to an exit node. With this I am able to ping and connect to devices that have a direct connection, but not devices behind a DERP server, likely because the domain name for the tailscale derp server is being blocked by fortiguard.

How should we solve this?

Possible fix 1: Communication with control server returns a list of currently valid DERP ip addresses (assuming the reason that domains are used in DERP server is to have the ability to change it) Possible fix 2: Initiating connections to DERP server happens over the exit node. Possible fix 2.5: option to access tailnet devices from the exit node Possible fix 2.6? Use an exit node if the DERP server is unreachable to connect to it.

What is the impact of not solving this?

DERP servers non functional behind a fortiguard firewall

Anything else?

No response

dolceAlka commented 2 months ago

after some digging it appears the device is also unreachable from the tailscale admin panel, likely because the service phones the coordination server over the non exit node interface, so the best solution would be the option to save configs from controlpanel.tailscale.com from the last valid connection, using that to initiate an exit node tunnel and then all communication with DERP and the coordination server can be handled over that (using an option of course)

dolceAlka commented 2 months ago

Strange behavior: device online in admin panel using own exit node, but not over mullvad exit node, both have an internet connection over the exit node but the mullvad one has strange issues with websites sometimes taking 10 seconds to load which is likely caused by tailscale but maybe not