Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a VPS (Cent OS 6) on a live IP. I have several other machines (All linux, mostly Cent OS 6 and a few Android devices) sitting behind NATted ADSL Routers on several sites.

I need to create a VPN between them, so that any device can ping or ssh into other devices participating in the VPN. Live Server can act as the host. Security is important.

I fairly comfortable with Linux CLI, but I don't know where to start for this project.

My questions is, What are the steps that I need to do to achieve the above setup?

share|improve this question

1 Answer 1

The whole setup is too long to be described here, also there are multiple ways how you might want to configure it, so to provide an overview:

  • You need to setup OpenVPN server. I would advice to do it on a VPS with external IP.
  • Setup OpenVPN clients on other servers and android devices to connect to your OpenVPN server.

You can find quick setup/proof-of-concept guide on OpenVPN site: http://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html

CentOS specific guides:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.