D
D
dbmaster2012-09-28 20:32:56
linux
dbmaster, 2012-09-28 20:32:56

How to organize vpn for servers in the cloud?

Happy Friday everyone!!!

We moved to the RackSpace cloud and as the number of servers grew, we were faced with the need to install a VPN.

Is it possible to configure one server and have remote access to all servers in the cloud?

What are the solutions for ubuntu?

Thanks

Answer the question

In order to leave comments, you need to log in

5 answer(s)
J
jov, 2012-09-28
@jov

It is not entirely clear what is the connection between the number of servers and the need for an encrypted channel between these servers? OpenVPN will perfectly cope with this task, make a certificate for each server, it will receive a strictly defined IP from the “private” network you have chosen, routing will also rise automatically. But why?

V
ValdikSS, 2012-09-28
@ValdikSS

Look tinc
And in general habrahabr.ru/post/150151/

A
amc, 2012-09-28
@amc

If you want to

I would like to connect to VPN and all services on all purchased servers become available via tcp directly.

Then you need to connect all servers with one point (or a special separate server or assign this responsibility to one of the existing servers), and already aim at it via VPN.
As a connecting link, OpenVPN is unrivaled, you can connect to the VPN server both via the same OpenVPN and via classic PPTP / L2TP (Especially if there are win * clients), or, as suggested above, via ssh-tun.

This is if your servers do NOT have an internal network. If they have, then everything is simpler, we install a VPN server on one of the servers, prescribe the necessary routing and use it.

S
sevmax, 2012-09-28
@sevmax

If ubuntu is everywhere, you can use ssh to the linking server + close ssh ports on external interfaces on all other servers using iptables, leaving SSH to work on the internal network.
To manage a bunch of servers, use pdsh (Paraller Destributed Shell).
For access use SSH keys + user policies.
Good luck!

M
maksimrussia, 2012-09-29
@maksimrussia

You can use native ppptp. Article Series: VPN Setup

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question