Cannot connect to Samba server via VPN

I’m using Tailscale VPN and I’m able to connect to my Linode VPS using SSH via my VPN IP, but when I try to access my samba server from any device to my Linode VPS, it doesn’t work. It is Ubuntu 20.04

My config for samba

[global]
dns proxy = No
log file = /var/log/samba/log.%m
map to guest = never
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
syslog = 0
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[samba]
comment = samba shared folder
path = /samba
read only = No

I already added the user and password for my samba user, also have the exact same config on my other Ubuntu 20.04, and it works fine, I can connect to the samba server of that device via VPN IP with the exact same config.

So I assume maybe Linode has some setting that blocks samba from VPN or local network?

1 Reply

im pretty sure my vps was messed up, cuz when i created a new vps everything works fine, since i didnt have much data on the old one yet so i deleted the old one and start using the new one

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct