NFS client opensuse 12.3 and LXDE

NFS client cannot find NFS server caused by firewall blocking
Which firewall port should I enable to find the NFS server in Yast ?
I have added NFS client allowed services.

anton wrote:
> NFS client cannot find NFS server caused by firewall blocking
> Which firewall port should I enable to find the NFS server in Yast ?
> I have added NFS client allowed services.

You don’t say which version of anything you are running. You don’t
provide any NFS config information. You don’t even indictae whether it’s
the firewall on the server or the client that you thing is blocking, let
alone provide any evidence that it really is the firewall causing the
problem.

I’d suggest setting up both server and client using YaST and then report
some actual facts to us about what happens.

Version was mentioned in the title.
Workstation LXDE opensuse 12.3 trying to find nfs server with yast-nfs-client
Problem firewall workstation is blocking.
When turn the firewall off on the workstation the nfs server ( nfs4 opensuse 12.3) s found.
Which port need to be enabled in the firewall workstation.

greetings
Anton

The Yast NFS-client module can do that for you:
Yast - Network services - NFS-client - NFS-settings-tab
Check “open port in firewall”.

FYI: Network services that require (an) open port(s) in the firewall have this checkbox. When you keep that in mind, the firewall isn’t that much of an issue, since the Yast modules for other services will take care of it for you.

open port firewall was checked !
Cannot find NFS server LAN

On Fri, 29 Nov 2013 13:16:01 +0000, anton wrote:

> open port firewall was checked !

Until you told us this, there’s no way we would have known this.

I have a similar issue, actually - my workaround (because my systems run
24x7) is just to shut the firewall down while mounting the volumes. The
issue is that NFS uses ephemeral ports (above 32768), and because those
ports are picked more or less at random, configuring the firewall becomes
a bit more difficult.

I found this just now:

http://www.lowth.com/LinWiz/nfs_help.html

which may help.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Oke Thanks.

I don’t see anywhere in this thread where you have installed the nfs server from Yast.

You know, go to YAST, Software Management, and install yast2-nfs-server and nfs-kernel-server, then go to Yast, System, System Services (runlevel), and make sure nfs and nfsserver are enabled.

Bob.

Yast -Software -pattern - check fileserver.
NFS server is working fine no problem.

Firewall is off otherwise it is unworkable for nfs clients.

On Sat, 07 Dec 2013 07:06:01 +0000, robertsmits wrote:

> I don’t see anywhere in this thread where you have installed the nfs
> server from Yast.

He wouldn’t need to on the system that’s used as the client. I made the
assumption the NFS server is set up properly on the server that’s hosting
the exported filesystem.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2013-12-07 10:26, anton wrote:

> Firewall is off otherwise it is unworkable for nfs clients.

/etc/sysconfig/SuSEfirewall2:


FW_CONFIGURATIONS_EXT="nfs-client nfs-kernel-server "

That’s all, I have that way a machine that is both server and client. It
is obvious what you have to remove if you only have one of those :wink:

On another machine I also have:


FW_SERVICES_ACCEPT_EXT="192.168.1.0/24,_rpc_,nfs   \
192.168.74.0/24,_rpc_,nfs"
FW_TRUSTED_NETS="192.168.1.129,tcp,nfs"

But apparently it is not necessary, as the prior machine doesn’t have
any of that.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On Sat, 07 Dec 2013 09:26:01 +0000, anton wrote:

> robertsmits;2605980 Wrote:
>> I don’t see anywhere in this thread where you have installed the nfs
>> server from Yast.
>> Bob.
>
> Yast -Software -pattern - check fileserver.
> NFS server is working fine no problem.
>
> Firewall is off otherwise it is unworkable for nfs clients.

FWIW, I just upgraded my nfs system to 13.1, and the firewall setting
works there, it seems.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Jim Henderson wrote:

> On Sat, 07 Dec 2013 07:06:01 +0000, robertsmits wrote:
>
>> I don’t see anywhere in this thread where you have installed the nfs
>> server from Yast.
>
> He wouldn’t need to on the system that’s used as the client. I made the
> assumption the NFS server is set up properly on the server that’s hosting
> the exported filesystem.
>
> Jim
>
>
>
That’s true Jim, but I often get into trouble by making (unwarranted)
assumptions.

One of the ways I get around firewall and nfs problems is just to turn off
all the firewalls on the machines - server and client - and rely instead on
the hardware firewall at the router. YMMV, of course.

Bob

OpenSuse