Thread: NFS through VPN
View Single Post

   
  #4 (permalink)  
Old 02-15-2008, 04:55 PM
Tony Lawrence
 
Posts: n/a
Default Re: NFS through VPN

Christophe Maquaire wrote:
> "Tony Lawrence" <foo@pcunix.com> a écrit dans le message de
> news:wP2dnaMZ15r9-8PfRVn-hQ@comcast.com...
>
>
>>I have NO idea why you'd want to copy files by way of NFS

>
>
> I get bad ideas sometimes...
>
>
>>- that's the
>>worst possible choice if copying is what you want. If the files are
>>supposed to remain accessible from the other side, that's different, but
>>if you just need to copy, use rcp, scp, even ftp.

>
>
> There are good ideas... man rcp is very interesting at this time .
> Thanks.


rcp requires user equivalence. You need to set up /etc/hosts.equiv or
(for root) /.rhosts (and with 600 perms on .rhosts). Contents have to
match the way this machine will see the other side - a ping will tell
you that.. there's more at my site; search for "rhosts"


>
>
>>What does "can't get info from the other side" mean?

>
>
> I get "Could not get authorization data for filesystem manager" when
> trying to open remote host witch exports a directory to "everybody,
> anywhere.."
>
>
>>Does each side have a route set for the vpn path?

>
>
> Yes
>
>
>>If you can, than your nfs is just not set up right

>
>
> Sure..
>
>
>> - is it running, did you export any filesystem, etc.

>
>
> Not sure... I'm not very experienced with unix world.



You have to tell nfs what you want it to use. You put (at a minimum)
one or more directories in /etc/exports and run exportfs -a (or reboot).


--
Tony Lawrence
Unix/Linux/Mac OS X resources: http://aplawrence.com
Reply With Quote