Godvader Posted June 3 Posted June 3 Hi all, I was trying to update the community applications plugin yesterday but got the warning that my Unraid version wasn't supported anymore. I then updated from 6.10.x to 6.12.10 and this broke the SMB access over Wireguard. I keep getting "can't connect to server" error. I set up the built in wireguard following the guide in the docs. This was my initial configuration: Remote access to server Use NAT set to Yes Host access to custom networks set to disabled No static routes on my router This is the basic configuration following the guide in the docs which used to allow me to access the shares through SMB on the old Unraid version. After the update: I can access the server GUI through wireguard I can access SMB shares locally I can't access the SMB shares remotely through Wireguard This 8 months old post on Reddit talks about the same issue, they apparently fixed it by rolling back to 6.11.x ... I think this post on the Unraid forums is about the same issue as well. So I searched around and found these solutions to be recommended: Follow the "complex network" approach mentioned in the setup guide. It makes no sense to me since my network didn't change at all and it used to work on older version of Unraid... I tried to this and quickly found out I can't set static routes in my router so that is impossible. Change macvlan to ipvlan. Didn't seem to change anything? I am lost beyond this, any help is welcome! Quote
Frank1940 Posted June 3 Posted June 3 (edited) 7 hours ago, Godvader said: "can't connect to server" It is a very generic response from Windows and provide little useful information! 7 hours ago, Godvader said: I can access SMB shares locally I can't access the SMB shares remotely through Wireguard How are you attempting to access these SMB shares? Is this an external computer to your LAN? The reason for these questions is that Windows will only allow a single connection to a server from a Windows client. So it best that you are testing from a computer that is not attached to your LAN. (I think a computer that is using a WIFI connection to a WIFI 'GUEST' network would be alright...) As I recall, SAMBA was upgraded from 6.10.X for a number of CVEs. It is possible that one of these is the source of your issues. Are you logging into your Unraid server SMB services? What security level are are using on your Unraid shares--- Public, Secure or Private? EDIT: I forgot a vital piece of information. I don't use Wireguard but from your description, I suspect a SMB problem rather than a Wireguard issue. Edited June 3 by Frank1940 Quote
Godvader Posted June 4 Author Posted June 4 (edited) 14 hours ago, Frank1940 said: How are you attempting to access these SMB shares? Is this an external computer to your LAN? The reason for these questions is that Windows will only allow a single connection to a server from a Windows client. So it best that you are testing from a computer that is not attached to your LAN. (I think a computer that is using a WIFI connection to a WIFI 'GUEST' network would be alright...) I am connecting to the Unraid server remotely. Not even in the same country 14 hours ago, Frank1940 said: As I recall, SAMBA was upgraded from 6.10.X for a number of CVEs. It is possible that one of these is the source of your issues. Are you logging into your Unraid server SMB services? What security level are are using on your Unraid shares--- Public, Secure or Private? EDIT: I forgot a vital piece of information. I don't use Wireguard but from your description, I suspect a SMB problem rather than a Wireguard issue. I have a windows machine on the same network as the Unraid server and that can connect to the SMB shares without a problem. I tried to remotely connecting through Wireguard both on an iPhone and a Mac. I tried both private and public shares. I am giving the right credentials to access the smb shares as it was working before the update. Edited June 4 by Godvader Quote
Frank1940 Posted June 4 Posted June 4 1 hour ago, Godvader said: I tried to remotely connecting through Wireguard both on an iPhone and a Mac. What error messages are these providing? Also try googling the phrase wireguard and SMB issues (Don't be afraid to modify the search string as you will probably get different results...) Quote
samax Posted June 4 Posted June 4 Hello, I have exactly the same problem since 2 days, but on raspberry pi OS. I can access my samba share through my local 192.168.0.x network, but not through my wireguard network. I'm looking for solutions too. Quote
Frank1940 Posted June 5 Posted June 5 Are you aware of this thread? https://forums.unraid.net/topic/84226-wireguard-quickstart/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.