Showing posts with label Tailscale. Show all posts
Showing posts with label Tailscale. Show all posts

Tuesday, December 9, 2025

RustDesk and Tailscale

May need to log back on after Tailscale updates.

Hints:
Checking Status In CMD
tailscale status
"windows  active; direct" is a good sign
tailscale netcheck
"UDP: true" is also a good sign

I'm an Anydesk guy. I tried RustDesk and it was fine but I didn't feel that their servers were as fast as Anydesk. Rust encourages setting up your own server which is more work than I wanted. With Tailscale you can establish a direct link between the two PCs through an encrypted Wireguard tunnel. This should be the game changer. (I the direct connection is interrupted it uses RustDesk servers)

Tailscale
winget install --id=Tailscale.Tailscale -e   
Set up a Tailscale account.
Log in with Google and it's a go.

RustDesk
Not available on Winget now  due to false virus scan report.

Set up RustDesk on the Host PC & Remote the same way.
On the Host PC
Click on 3 dot menu
Security and Unlock
   Use permanent password
   Enable direct IP access (This is the big deal) You need to type in the 21118 port number.
   Now Tailnet addresses and local IPs are accessible.

Network and Unlock
   No change here for direct connection

Caveat: Keep AnyDesk active. I had to use it to stop and start the Tailscale service today. It has only happened once in 2 years so no big deal. But once I had "run unattended" get unchecked for some reason. Keeping AnyDesk active in the taskbar is a good practice if you need access remotely.

Run Unattended can be set in preferences.
or
CMD as admin
reg add "HKLM\SOFTWARE\Tailscale IPN" /v UnattendedMode /t REG_SZ /d always /f   

If testing speed with Iperf:
Iperf windows version must be used and run from the command line to work.
Download the iperf for windows folder
Open CMD admin in that folder and run

On server
iperf3.exe -s -p 5202

On remote
one stream
iperf3.exe -c <REMOTE_TS_IP> -p 5202 -t 10

multiple streams
iperf3.exe -c <REMOTE_TS_IP> -p 5202 -t 15 -P 4


You can access the share folder on the Server PC on a remote PC in File Explorer. \\IP_Address

Exit Node

Phase 1: On the Remote Office PC (The Exit Node)
Powershell Admin
tailscale set --advertise-exit-node
tailscale up   

Go to admin console
3 dot menu
Edit route settings
Use Exit Node

Leave key expire off

Phase 2: Not sure about this on but leaving it.
Tailscale Admin Console (One-Time Approval)By default, Tailscale blocks machines from routing traffic for security until explicitly approved in your admin dashboard.Open the Tailscale Admin Console.Locate your Remote Office PC in the machine list.Click the ... (options menu) next to it $\rightarrow$ select Edit route settings...Check the box for Use as exit node and click Save.

Phase 3: On Your Local PC (Connecting to the Exit Node)
Using the Graphical Interface (Windows / macOS)
Click the Tailscale tray icon in your taskbar or menu bar.

Select Exit Nodes.

Click on your Remote Office PC to enable routing.

Advertise A Local Network

Open PowerShell as Administrator and run:

tailscale up --advertise-routes=192.168.1.0/24 --unattended 

Go to admin console
Subnets should show on the PC you just set
Go to 3 dot menu
edit route settings
click the IP and save

Subnet stuff
So if you're doing a quick "just pick something unlikely to collide" without checking the admin panel, .250–.253 is your best bet. Otherwise access router page and verify assignment range used.

netsh interface ip set address name="Wi-Fi" static 192.168.1.250 255.255.255.0 192.168.1.1   
netsh interface ip set address name="Wi-Fi" source=dhcp

On wired lan
Check the Ethernet name:
netsh interface show interface   

netsh interface ip set address name="Ethernet" static 192.168.1.250 255.255.255.0 192.168.1.1   
netsh interface ip set address name="Ethernet" source=dhcp   

Securely Delete Old Spinning Hard Drive

  HDD Low Level Format Tool https://hddguru.com/software/HDD-LLF-Low-Level-Format-Tool/