New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samba interfaces only
config does not include tailscale0
#6856
Comments
Using my tailscale ip address ( |
Post with a little more info by the same users as the SO question: https://codeberg.org/ansible/samba |
I'm not sure how much we'll be able to help with this: Samba via Tailscale does work. The specific bind-to-interface feature does not. We're unlikely to be able to build and debug smbd in order to figure out what is going wrong. |
This is the same class of problem that a lot of software has. The new |
Out of curiosity, what is this class of problem? |
interfaces only
interfaces only
config does not include tailscale0
Can you be more clear on this Brad? I'm hitting up against this issue/concern as well. I can only mount a Samba share over Tailscale if
Not sure if there's no information somewhere on this concern, so please point me in the right direction if you can. Thanks! |
I had this exact same problem and was not happy using
or replace
(you can disable it with
|
Honestly, the command "tailscale serve tcp:445 tcp://localhost:445" alone saved me. |
What is the issue?
A good description from another user: https://superuser.com/questions/1757181/binding-samba-to-tailscale-interface-fails-but-works-for-physical-nic
I'm using a NixOS samba host and multiple clients (Arch, MacOS) that have samba working well over non-tailscale interfaces but fail when I attempt over tailscale.
It looks like the issue boils down to this part of my samba config:
If I attempt to mount a share from Arch:
I see in the client's dmesg:
I don't see anything in the host's samba (log level 3) or kernel logs.
If I attempt to mount from Finder on MacOS, I get a popup with:
As noted in the SO thread above, on the NixOS server it looks like samba isn't binding to the tailscale interface, even though
tailscale0
is in my interfaces list.If I change nothing nothing other than
bind interfaces only = yes
in my samba config, the mount command succeeds and everything is fine, from both Arch as well as from MacOS. I've commented and uncommented this line numerous times with no other changes, and it reliably reproduces and resolves the issue.Steps to reproduce
As per above
Are there any recent changes that introduced the issue?
Not to my knowledge
OS
Linux, macOS
OS version
Arch, NixOS 22.11, MacOS 13
Tailscale version
No response
Bug report
BUG-1dbee491610be854a6911ac6edf8717a53381967af824dede8da40997d41197e-20221229161318Z-2dfa3d281a29428d
The text was updated successfully, but these errors were encountered: