LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-21-2016, 11:36 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
Post connect to nfs server: which ports must be open in fw?


Hello!

Try connect from mac os to nfs share on my fileserver ( runs on slack64 14.0 )

write /etc/exports
/path/to/shared/folder client_ip(rw,sync) another_ip(rw,sync)

start /etc/rc.d/rc.nfsd

open in firewall 111 and 2049 ports on tcp and udp from client_ip


write in macbook ( os x 10.11) finder -> connect to server -> nfs://server_ip:

it find some time ( about minute) , then say "server not found or it turned off".
try open in fw samba ports and connect from mac via smb protocol - it see share and connect, all ok. but in need nfs....

any ideas?
 
Old 01-21-2016, 01:41 PM   #2
Panagiotis Nik
Member
 
Registered: Jul 2014
Distribution: Slackware64-Current, Slackware64-14.2
Posts: 33

Rep: Reputation: Disabled
Hi!

http://rlworkman.net/howtos/NFS_Firewall_HOWTO

http://docs.slackware.com/howtos:net...home_nfs_howto
 
1 members found this post helpful.
Old 01-21-2016, 01:41 PM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
EDIT: Read the message above this one. Much better answer than the one that I had here.

Last edited by Richard Cranium; 01-21-2016 at 01:42 PM.
 
Old 01-22-2016, 01:16 AM   #4
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Thanks, try read and prove it after work.
PS forget to look in slackdocs.....
 
Old 01-22-2016, 01:16 PM   #5
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
readed that doc, take a look at my slackware, and decide not to use NFS.
looks like that protocol not to best for networks with filtering ( firewalling) - so many ports, and serious default slackware reconfiguration, who take a some work, and must preserved and remember to, when i change slackware version at server....

decide to stay on samba. on it sharing can be done throught open 137 - 139 port. minimal effort.

surprised, with what in mind NFS has designed to need so many ports to work? looks like someone want to get thing more and more complicate, instead try to make all simply as possible...
 
Old 01-22-2016, 01:19 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by WiseDraco View Post
readed that doc, take a look at my slackware, and decide not to use NFS.
looks like that protocol not to best for networks with filtering ( firewalling) - so many ports, and serious default slackware reconfiguration, who take a some work, and must preserved and remember to, when i change slackware version at server....

decide to stay on samba. on it sharing can be done throught open 137 - 139 port. minimal effort.

surprised, with what in mind NFS has designed to need so many ports to work? looks like someone want to get thing more and more complicate, instead try to make all simply as possible...
NFS is old tech. Firewalls within corporate networks were not that common when it was developed.
 
2 members found this post helpful.
Old 01-22-2016, 01:42 PM   #7
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by Richard Cranium View Post
NFS is old tech. Firewalls within corporate networks were not that common when it was developed.
yes, but is still evolutioned, as i understand?
and looks like, there is no any "new tech" in linux /unix who can become instead of NFS?

try to read about AFS, but looks like there is maybe problems to get it work on linux?
in OpenAFS project find clients only for mac os x and mswindows....
 
Old 01-22-2016, 03:02 PM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by WiseDraco View Post
yes, but is still evolutioned, as i understand?
Well, you can work around the problems by forcing static ports and opening the firewalls accordingly.

Quote:
and looks like, there is no any "new tech" in linux /unix who can become instead of NFS?

try to read about AFS, but looks like there is maybe problems to get it work on linux?
in OpenAFS project find clients only for mac os x and mswindows....
https://en.wikipedia.org/wiki/Compar...d_file_systems

The ceph client is part of the kernel. Don't know about the ceph daemon; it's a available from git but not slackbuilds.

Ok, it needs snappy and leveldb from slackbuilds. I had to add a couple of --without-something flags to ./configure to get that to run.

http://ceph.com/


(For your needs, ceph might be using a flamethrower to kill a gnat. I've never used it, but the server actually doesn't compile under Slackware64 14.1 due to a header mismatch. That's git head. I had reported earlier that it appeared to compile; it actually didn't.)

Last edited by Richard Cranium; 01-22-2016 at 03:36 PM.
 
1 members found this post helpful.
  


Reply

Tags
connect, exports, firewall, mac os x, nfs



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
No Open Ports, But Able to Connect Maxuuma Linux - Server 1 09-24-2015 11:05 AM
Firewall blocking NFS even though ports are open OmnipotentOscar Linux - Security 13 01-25-2010 12:47 PM
Can't connect from slackware nfs client to rhel nfs server llattan Linux - Server 2 04-21-2009 09:49 AM
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:09 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
Open Source Consulting | Domain Registration