[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 636
  • Last Modified:

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
0
tbruheim1967
Asked:
tbruheim1967
  • 2
  • 2
1 Solution
 
cdfsCommented:
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

0
 
tbruheim1967Author Commented:
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.
0
 
cdfsCommented:
When you are talking about a "nfs share" you are talking about an export ;) With nfs you don't share, you export. Two words, same meaning.
0
 
tbruheim1967Author Commented:
Okey. Thank you. I can go further with this.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now