Link to home
Start Free TrialLog in
Avatar of tbruheim1967
tbruheim1967Flag for Norway

asked on

openVPN is working, and now what?

I have successfully configure openVPN on a centOS 6.2 machine, and I am able to connect from Ubuntu 11 using the openVPN Ubuntu client. And now what? I wish to mount my home folder on CentOS to be reachable in Ubuntu. I am also able to ping the VPN server.
What is the syntax to do this?
Let us say that my ip address on CentOS is 178.21.134.199 and my user is anne with the password anne1234
Avatar of cdfs
cdfs
Flag of Germany image

You will have to export your home-directory via nfs and mount it on the other side. Install and configure a nfs-server on your centOS-box, export /home/yourfolder/ . Install a nfs-client on the Ubuntu-box and alter your fstab to mount the nfs-export, e.x.:
178.21.134.199:/home/yourfolder  /home/yourfolder        nfs     auto,_netdev 0       0

Open in new window

Avatar of tbruheim1967

ASKER

I dont understand the concept "export" here?  I sounds like you need to have your home folder on CentOS in 2 places. First the original on CentOS, then you export it to another location on CentOS. This does not sounds logical. I thought you should be able to create a "nfs share" out of the home folder without exporting it to another location.

Can you please explain this topic a little bit in details please, and thank you anyway for you answer.
ASKER CERTIFIED SOLUTION
Avatar of cdfs
cdfs
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Okey. Thank you. I can go further with this.