Is it possible to connect 3 servers to all talk to each oth?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
blueplastic
OpenVpn Newbie
Posts: 1
Joined: Tue May 10, 2011 10:12 pm

Is it possible to connect 3 servers to all talk to each oth?

Post by blueplastic » Tue May 10, 2011 10:17 pm

Hi, I'm a new OpenVPN user and was wonder if it would be possible to connect 3 servers with OpenVPN to all talk to each other.

I have 2 EC2 servers in Amazon's US-East Region. And there's 1 server in the US-West region.

I want to create a virtual IP for each server and a VPN network connecting all servers to each other, so any server can talk to any other server.

So, I understand and have found several tutorials online for a client/server relationship with OpenVPN involving 2 computers. However, is it possible to have 3 servers? I don't know if having 1 server and 2 clients is the right approach, because then the 2 clients may not be able to directly talk to each other.

Any thoughts of whether this can be done any docs/URLs you can point me to that can help configure this?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Is it possible to connect 3 servers to all talk to each

Post by janjust » Tue May 10, 2011 10:49 pm

I'd set up 2 servers and 3 clients for full redundancy:

site A: server A
site B: server B and client B
site C: client C1 and C2

client B connects to server A
client C1 connects to server A
client C2 connects to server B

you can use 'client-to-client' to make sure the different machines can see each other.

A site-to-site equivalent is also possible and is explained in chapter 1 of my book.

Post Reply