LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2005, 05:56 PM   #1
slavering.dog
LQ Newbie
 
Registered: Dec 2005
Location: Andover, Mass., USA
Distribution: Red Hat 9, Fedora 8 & 9
Posts: 2

Rep: Reputation: 0
Samba: port not open


*** Intro:

I am trying to get a Samba server going on home linux machine (Red Hat 9) named "boneset".

Having, as far as I can tell, configured Samba properly on boneset, if I look at it from a second linux box (named "yarrow" and running RH7.3, both on home network) with nmap, nmap shows all ports from 135-140 are closed on boneset.

(Samba is running okay on yarrow and from boneset nmap announces that 139 is open on yarrow, and in fact I can use Samba on boneset to browse yarrow.)

*** Question:

Does this mean that the ports have not been opened because of some security settings which I don't know about, or is it just telling me in a different way that the Samba server isn't working right?

To re-ask the question backwards :-) would having Samba running right automatically open port 139?

Obviously, I am asking if I should approach this as a firewall problem or a Samba problem.
 
Old 12-15-2005, 06:30 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
I'm pretty sure you'll have to open port 139 in the firewall, if you have the firewall protecting your computer from tne network over which you want to share files. Certainly, according to my fw config file:

Quote:
# set to "yes" if this server is running a samba server. You still have to
# open the tcp port 139 to allow remote access to SAMBA.
FW_SERVICE_SAMBA="no"
It's set to "no" on my PC because I connect to my other PCs via a different interface than my internet connection (the LAN connection is not protected by the firewall)

Yours,
Rob
 
Old 12-15-2005, 06:47 PM   #3
slavering.dog
LQ Newbie
 
Registered: Dec 2005
Location: Andover, Mass., USA
Distribution: Red Hat 9, Fedora 8 & 9
Posts: 2

Original Poster
Rep: Reputation: 0
Samba: port not open

Quote:
Originally Posted by Robhogg
I'm pretty sure you'll have to open port 139 in the firewall, if you have the firewall protecting your computer from tne network over which you want to share files. Certainly, according to my fw config file:



It's set to "no" on my PC because I connect to my other PCs via a different interface than my internet connection (the LAN connection is not protected by the firewall)

Yours,
Rob
Thanks.

So I will just focus on figuring out how to do this with RH 9.

Cool.

- Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot SFTP to SUSE 9.2 box, port 22 open, can putty in though using same port. jgrady Linux - Networking 6 03-29-2005 09:44 AM
How do I open port 25? vous Linux - Networking 3 03-06-2005 01:23 PM
how to open port for Linux Samba for windows users 12345671 Linux - Security 6 03-08-2004 03:42 AM
Samba (port 139) open to the world Tezdread Linux - Networking 4 03-09-2003 11:17 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration