Can't share a folder
Im new to homelab and stumbling my way through the whole space, while I learn more and more.
I made a server for replacing google fotos and now i also want it to replace OneDrive, therefor I want to have acces to the server folder in my explorer. The thing is, I was able to do it on my home Pc, but I cant do it on my uni laptop in a diffrent network.
Infos:
I use tailscate to connect, I used tailscate ip adress, I use Windwos 11 on my uni laptop, activated "allowinsecureguests", i can ping the server but the sharing seems to just not work.
im at a dead end, and even ai can't help me (idk so faar it helped me alot, seems to be good for IT stuff)
Thanks for your help
2
Upvotes
1
u/Emergency_Dinner4122 18d ago
u/l4rs03 ping working only proves Tailscale is up, not that SMB gets through. From the laptop, in PowerShell:
Test-NetConnection <tailscale-ip> -Port 445
If TcpTestSucceeded is True, it's Windows. CasaOS shares are guest shares, and Windows 11 24H2 blocks those twice: guest logons are off, and SMB signing is required (a guest session can't sign). AllowInsecureGuestAuth only fixes the first one. In an admin PowerShell:
Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force
Set-SmbClientConfiguration -RequireSecuritySignature $false -Force
Then map \\<tailscale-ip>\<share name>. Note that this lowers SMB security for every network the laptop joins, and if the laptop is managed by your uni, their policy may put it back.
If it's False, SMB never reaches the server. That usually means Tailscale runs as a Docker app without host networking, so the Tailscale IP is the container and not the server. Install Tailscale on the host itself (curl -fsSL https://tailscale.com/install.sh | sh) and use that IP.
The cleaner fix is to not use a guest share at all: with a real username and password Windows signs the session and none of the above is needed. Stock CasaOS can't do that from the UI, its shares are always guest. Disclosure: I maintain ReCasaOS (https://recasaos.org), a maintained fork of CasaOS, where a share can be restricted to a dedicated account with a password. On stock CasaOS the two commands above are the way.
Which error does Explorer give you (0x80070035, or a message about security policies / guest access)?