Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

trouble connecting to Samba outside firewall

Posted on 2012-08-22
3
Medium Priority
?
1,055 Views
Last Modified: 2012-08-23
I have a samba mountpoint configured on my Linux Slackware webserver. people within the LAN (192.168.2.) can connect w/o problem. I cannot connect to it from outside. I'm sure it's not a problem on the client end since I can make similar connections to other such servers. It must either be a firewall problem or some kind of issue with the ISP (which is AT&T). I have the following ports open on the modem/router and forwarded to the Linux host:


TCP 139,443
UDP 137-138

Perhaps that is not correct? I have no firewall configured on the Linux host.

Slacware version 13.37.0, kernel version 2.6.37.6-smp, smbd version  1.6g

Help would be GREATLY appreciated
0
Comment
Question by:jmarkfoley
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
1ly4me earned 2000 total points
ID: 38324169
Do #nmap from remote host to slackware server. This makes sure SMB ports are open or not.

#nmap slackware.web.server

If the ports are open, you can in the results.
ports : 139 and 445 should be open in order to work SMB correctly.
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 38325071
Here what I've got:

Not shown: 994 filtered ports
PORT     STATE  SERVICE
22/tcp   open   ssh
25/tcp   open   smtp
80/tcp   open   http
139/tcp  open   netbios-ssn
443/tcp  closed https
3389/tcp open   ms-term-serv

I'll try opening 445 this evening and see if that helps.
0
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 38327789
forwarding port 445 did the trick! Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question