Skip to contentSkip to conversation

connection openings from server to client

DISCUSSION Trond Myklebust 1 participant 1 message Jun 2, 2010 4 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 87iq61mwgs.fsf-/[email protected]

#4 lore raw
Quoted 5 lines · Ferenc Wagner

Guillaume Rousse <[email protected]> writes:
=20

Quoted 3 lines

Le 02/06/2010 13:37, Ferenc Wagner a =C3=A9crit :
=20

Quoted 1 line

I read that letting NFS4 through firewalls is quite easy and entai=

ls

Quoted 1 line
Quoted 1 line
Quoted 1 line

opening up port 2049 of the server only. It indeed works. But ou=

r NFS

Quoted 1 line
Quoted 1 line
Quoted 1 line

client has its own firewall as well, and that logs backward connec=

tion

Quoted 1 line
Quoted 1 line
Quoted 1 line

attempts from low (665-1022) ports of the NFS4 server to port 5947=

3 of

Quoted 1 line
Quoted 1 line
Quoted 1 line

the client. These connections aren't let through, but I wonder if=

they

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

should be, and if it's NFS related at all...

They are delegation callbacks. If those connections can't succeed, =

you

Quoted 5 lines
Quoted 1 line

wont' have delegation support.

=20
Thank you for the quick and clear explanation. Is there some "best practice" available for firewalling delegation callbacks? If that's infeasible, is there any way to explicitly disable delegation support=

in

Quoted 1 line

the server, to suppress the useless trials?

On the NFS client, you should set the 'nfs.callback_tcpport' kernel parameter to a known port number, then open that TCP port for incoming connections on your firewall.

e.g. if you decide to open TCP port 2050, then you should add something like the following line to /etc/modprobe.d/options-nfs.conf:

options nfs callback_tcpport=3D2050

Then either reboot the client, or unload, its nfs kernel module and reload it...

Cheers
Trond