Want to Set up a VPN network in Amazon EC2

1,279 views
Skip to first unread message

Subhasis Dasgupta

unread,
Jul 6, 2009, 9:04:21 AM7/6/09
to cloud-c...@googlegroups.com
I want to setup VPN network at Amazon EC2 , my requirements are following

1. I need to set  VPN servers over Amazon US , EU and my own network using IPSEC
2  I want to setup some VPN clients under the VPN servers over Amazon EC2



I need some idea to setup the above requirement


Please help me

-Subhasis

Himanshu Khona

unread,
Jul 7, 2009, 12:34:25 AM7/7/09
to cloud-c...@googlegroups.com
1. I need to set  VPN servers over Amazon US , EU and my own network using IPSEC..Use Linux IPSEC using racoon or openswan - http://www.ipsec-howto.org/t1.html
2  I want to setup some VPN clients under the VPN servers over Amazon EC2 ..OpenVPN using SSL VPN is your best bet.
Let me know if you need more information.
Thanks,
Himanshu

Rodney Quillo

unread,
Jul 7, 2009, 11:43:32 PM7/7/09
to Cloud Computing
Try this link:

http://alestic.com/2009/05/openvpn-ec2


Rodney


On Jul 6, 9:04 pm, Subhasis Dasgupta <dasgupta.subha...@gmail.com>
wrote:

Alex Zarutin

unread,
Jul 22, 2009, 9:57:49 PM7/22/09
to cloud-c...@googlegroups.com
Cloud-computing gurus,

Any ideas of what would be performance of OpenVPN running hundreds and hundreds connections, each of them may be a combination of various protocols: http/https, mail, chats, and voice/video streaming (skype, conference, etc)?
Any CPU/memory usage metric or any numbers based on the number of the connections?
Experience of running on various instances? small/large?

How well the "elastic" feature of EC2 works if there is one end-point for VPN connections on the load balancer, and there are number of OpenVPN servers running on the instances or even a couple per instance.? When it happens (add another instance) on the fly?

Thanks,
Alex

Max

unread,
Jul 23, 2009, 11:35:20 AM7/23/09
to Cloud Computing
OpenVPN is very good. It puts encrypted and compressed IP packets
inside of UDP packets.

I have installed OpenVPN on my WIFI router. I can login from
anywhere.
Speedtest shows ~3.5 mbits in both sides for internet.

I was in turkey recently and youtube is prohibited there but it worked
for me very well. No lags.

Concern hundreds connections> It is wrong question.
You should look how many packets are sent and how many packets EC2 is
able to process.
Ping and number of lost packets are very important.



On Jul 23, 4:57 am, Alex Zarutin <alex...@zorranlabs.com> wrote:
> Cloud-computing gurus,
>
> Any ideas of what would be performance of OpenVPN running hundreds and
> hundreds connections, each of them may be a combination of various
> protocols: http/https, mail, chats, and voice/video streaming (skype,
> conference, etc)?
> Any CPU/memory usage metric or any numbers based on the number of the
> connections?
> Experience of running on various instances? small/large?
>
> How well the "elastic" feature of EC2 works if there is one end-point
> for VPN connections on the load balancer, and there are number of
> OpenVPN servers running on the instances or even a couple per instance.?
> When it happens (add another instance) on the fly?
>
> Thanks,
> Alex
>
> Himanshu Khona wrote:
> > 1. I need to set  VPN servers over Amazon US , EU and my own network
> > using IPSEC..*Use Linux IPSEC using racoon or openswan
> > - **http://www.ipsec-howto.org/t1.html*
> > 2  I want to setup some VPN clients under the VPN servers over Amazon
> > EC2 ..*OpenVPN using SSL VPN is your best bet.*

Subhasis Dasgupta

unread,
Jul 30, 2009, 4:25:52 AM7/30/09
to cloud-c...@googlegroups.com
Here is the end result , we have post it on our blog
http://www.kaavo.com/blog/-/blogs/building-a-private-cloud-within-a-pubic-cloud?_33_redirect=%2Fblog%2F-%2Fblogs%2Fbuilding-a-private-cloud-within-a-pubic-cloud
This is valid for both SSL tunnel and IpSec tunnel.

Thanks to cloud computing group for helping us

-Subhasis


2009/7/6 Subhasis Dasgupta <dasgupta...@gmail.com>

Subhasis Dasgupta

unread,
Jul 30, 2009, 5:35:29 AM7/30/09
to cloud-c...@googlegroups.com

Subhasis Dasgupta

unread,
Dec 24, 2009, 12:03:02 AM12/24/09
to praveen b, cloud-c...@googlegroups.com
I have used Openswan for IPsec tunnel http://www.openswan.org . and I
wonder if there is any windows version is available or not . I have
created a tunnel between router and Linux gateway at Ec2 using IPsec
and the I have created SSL tunnel between Gateway and other nodes
(which includes Windows and Linux ) using OpenVPn
Please let me know more about your topology , If you are using Kaavo's
IMOD (https://imod.kaavo.com ) I can build a for you to automate the
whole process.

-Subhasis

2009/12/24 praveen b <praveen...@gmail.com>:
> yes IPSec tunnel,
>
> I want steps to configure it. both for windows and linux.
>
> thanks,
> Praveen.
>
> On Wed, Dec 23, 2009 at 10:16 PM, Subhasis Dasgupta
> <dasgupta...@gmail.com> wrote:
>> are you trying to setup an IPSec tunnel ?
>>
>> -Subhasis
>>
>>
>> ---------- Forwarded message ----------
>> From: praveen...@gmail.com <praveen...@gmail.com>
>> Date: 2009/12/23
>> Subject: Re: Want to Set up a VPN network in Amazon EC2
>> To: Subhasis Dasgupta <dasgupta...@gmail.com>
>>
>>
>> Hi Subhasis,
>>
>> I want to setup VPN connection using CISCO vpn client between
>> windows2003 instance on EC2 and my office network but i am not able to
>> do so and getting error
>> "Secure VPN Connection terminated locally by the Client. Reason 413:
>> User authentication failed"
>>
>> can you please send some document or how to do steps for setting up
>> vpn client between windows2003 instance on EC2 and office network
>> either openvpn or cisco vpn either of them is fine.
>>
>> Thanks,
>> Praveen
>>
>>
>> On Jul 30, 2:35 pm, Subhasis Dasgupta <dasgupta.subha...@gmail.com>
>> wrote:
>>> Sorry the correct link ishttp://www.kaavo.com/blog/-/blogs/building-a-private-cloud-within-a-p...


>>>
>>> Thanks and regards,
>>> Subhasis
>>>
>>> http://www.kaavo.com/blog
>>>

>>> 2009/7/30 Subhasis Dasgupta <dasgupta.subha...@gmail.com>


>>>
>>> > Here is the end result , we have post it on our blog
>>>

>>> >http://www.kaavo.com/blog/-/blogs/building-a-private-cloud-within-a-p...


>>> > This is valid for both SSL tunnel and IpSec tunnel.
>>>
>>> > Thanks to cloud computing group for helping us
>>>
>>> > -Subhasis
>>>

>>> > 2009/7/6 Subhasis Dasgupta <dasgupta.subha...@gmail.com>

Reply all
Reply to author
Forward
0 new messages