Samba not accessabe over WAN - Does not show that port 138 is open / firewall is disabled still not working

Issues related to applications and software problems
Post Reply
floods7
Posts: 1
Joined: 2018/09/13 01:21:34

Samba not accessabe over WAN - Does not show that port 138 is open / firewall is disabled still not working

Post by floods7 » 2018/09/13 01:23:59

I have a file server setup with samba on a centos 6.6. I can access it inside the network but it is not accessable over WAN. I have all ports forwarded properly through my router. Here is a nmap I ran:

PORT STATE SERVICE
53/tcp open domain
80/tcp open http
443/tcp filtered https
5900/tcp open vnc
8081/tcp open blackice-icecap
10000/tcp open snet-sensor-mgmt


I think I am missing port 138 but I don't know how to set that to open seeing as I disabled the firewall to make troubleshooting a little easier. What am I missing for WAN access to samba

User avatar
avij
Forum Moderator
Posts: 2648
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Samba not accessabe over WAN - Does not show that port 138 is open / firewall is disabled still not working

Post by avij » 2018/09/13 05:12:04

You really should yum update. 6.6 is nearly four years old, and you are missing a ton of security updates.

Many ISPs filter out access to SMB due to security concerns (and rightly so), especially on residential connections. You may need to set up a VPN, or use something other than SMB.

User avatar
TrevorH
Forum Moderator
Posts: 23458
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Samba not accessabe over WAN - Does not show that port 138 is open / firewall is disabled still not working

Post by TrevorH » 2018/09/13 07:33:13

Modern Windows shares use ports tcp/445 and udp/137. And using samba over the internet is asking for trouble.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

billwest
Posts: 137
Joined: 2006/11/19 10:50:31
Location: Perth, Western Australia

Re: Samba not accessabe over WAN - Does not show that port 138 is open / firewall is disabled still not working

Post by billwest » 2018/09/13 11:50:32

I assume you have both samba (smb) and namba (nmb) running?

User avatar
TrevorH
Forum Moderator
Posts: 23458
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Samba not accessabe over WAN - Does not show that port 138 is open / firewall is disabled still not working

Post by TrevorH » 2018/09/13 16:52:33

To be honest, I'm not really sure we are helping if we're assisting someone with a 4 year out of date system to enable an insecure file sharing protocol over the internet. The answer should really be "just no, don't do it".
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

billwest
Posts: 137
Joined: 2006/11/19 10:50:31
Location: Perth, Western Australia

Re: Samba not accessabe over WAN - Does not show that port 138 is open / firewall is disabled still not working

Post by billwest » 2018/09/13 23:34:55

I agree.

Post Reply