Can't connect to smb drives

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
BrianTheBrain
OpenVpn Newbie
Posts: 3
Joined: Tue Jun 14, 2022 8:36 pm

Can't connect to smb drives

Post by BrianTheBrain » Tue Jun 14, 2022 9:19 pm

I've had openvpn set up for a while on my raspi and always been able to connect to my smb drives (also hosted on it) through the vpn. Recently the sd card on the ras pi decided to take a crap... and i didn't have a backup. I redid my openvpn installation and smb on a new drive and just now im trying to access my smb server on windows through open vpn. windows even lets me login with username and password, recognizes the servers through browse, just spits me back out saying that the network name could not be found.
smb.conf relevant info:

Code: Select all

[NetServer1]
path = /media/pi/FirstBackup
writeable=Yes
create mask=0777
directory mask=0777
public=No
hosts allow=127.0. 10.88. 192.168.
thanks

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Can't connect to smb drives

Post by TinCanTech » Wed Jun 15, 2022 12:10 pm

BrianTheBrain wrote:
Tue Jun 14, 2022 9:19 pm
the network name could not be found
Which means you need a name resolution solution, like DNS or WINS.

BrianTheBrain
OpenVpn Newbie
Posts: 3
Joined: Tue Jun 14, 2022 8:36 pm

Re: Can't connect to smb drives

Post by BrianTheBrain » Wed Jun 15, 2022 7:03 pm

Thanks for responding.
TinCanTech wrote:
Wed Jun 15, 2022 12:10 pm
BrianTheBrain wrote:
Tue Jun 14, 2022 9:19 pm
the network name could not be found
Which means you need a name resolution solution, like DNS or WINS.
I'm not sure what you mean. I have a DNS, and thats the setting thats used in the OVPN profiles. Are you saying i should put the dns name in the windows drive setup?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Can't connect to smb drives

Post by TinCanTech » Wed Jun 15, 2022 9:04 pm

Your name: BrianTheBrain, would suggest that you already know.

BrianTheBrain
OpenVpn Newbie
Posts: 3
Joined: Tue Jun 14, 2022 8:36 pm

Re: Can't connect to smb drives

Post by BrianTheBrain » Thu Jun 16, 2022 6:19 am

Alas, while i might be a brain, i am a low iq one, ergo, all help would be appreciated

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Can't connect to smb drives

Post by TinCanTech » Thu Jun 16, 2022 3:55 pm

I believe there is a section for this in the howto.

Post Reply