Bon, en désactivant le pare-feu sur le serveur j'arrive à y avoir accès. Je copmrends pas trop étant donné que j'ai suivi à la lettre ce qui est dit dans la documentation, enfin je verrai ça plus tard.
Par contre, depuis le mint j'ai une erreur comme ça :
$ sudo mount JB:/home/JB/backup_windoz/ -t nfs /mnt/rekup
mount.nfs4: access denied by server while mounting JB:/home/JB/backup_windoz/
Est-ce qu'il y a quelqu'un qui peut me donner une piste par où chercher ?
Précisions :
Les fichiers exports, hosts.allow et hosts.deny
/etc/exports :
/home/JB/backup_windoz/ *(rw)
/etc/hosts.allow :
#
# hosts.allow This file contains access rules which are used to
# allow or deny connections to network services that
# either use the tcp_wrappers library or that have been
# started through a tcp_wrappers-enabled xinetd.
#
# See 'man 5 hosts_options' and 'man 5 hosts_access'
# for information on rule syntax.
# See 'man tcpd' for information on tcp_wrappers
#
portmap:192.168.1.22
lockd:192.168.1.22
mountd:192.168.1.22
rquotad:192.168.1.22
statd:192.168.1.22
/etc/hosts.deny est vide. Est-ce que j'ai oublié quelque chose dans ces fichiers ?
Le firewall :
avec netstat j'obtiens ceci :
# netstat -laputen
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Local Address Foreign Address State Utilisatr Inode PID/Program name
tcp 0 0 0.0.0.0:892 0.0.0.0:* LISTEN 0 228341 7141/rpc.mountd
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN 0 228307 -
tcp 0 0 0.0.0.0:32803 0.0.0.0:* LISTEN 0 228320 -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 16596 1029/rpcbind
tcp 0 0 0.0.0.0:662 0.0.0.0:* LISTEN 29 17370 1189/rpc.statd
[...]
tcp 0 0 :::892 :::* LISTEN 0 228347 7141/rpc.mountd
tcp 0 0 :::2049 :::* LISTEN 0 228310 -
tcp 0 0 :::32803 :::* LISTEN 0 228322 -
tcp 0 0 :::111 :::* LISTEN 0 16601 1029/rpcbind
tcp 0 0 :::662 :::* LISTEN 29 17378 1189/rpc.statd
[...]
udp 0 0 0.0.0.0:32769 0.0.0.0:* 0 228319 -
udp 0 0 0.0.0.0:2049 0.0.0.0:* 0 228308 -
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 16593 1029/rpcbind
udp 0 0 0.0.0.0:662 0.0.0.0:* 29 16095 1189/rpc.statd
udp 0 0 0.0.0.0:892 0.0.0.0:* 0 228338 7141/rpc.mountd
[...]
udp 0 0 :::32769 :::* 0 228321 -
udp 0 0 :::2049 :::* 0 228311 -
udp 0 0 :::111 :::* 0 16598 1029/rpcbind
udp 0 0 :::662 :::* 29 17373 1189/rpc.statd
udp 0 0 :::892 :::* 0 228344 7141/rpc.mountd
Pourquoi le port 32769 n'est activé qu'en udp et le 32803 qu'en tcp, mystère... Je les ai pourtant ouvert via system-config-firewall.