Need help with the connectors/EC2 instances

Next-generation cloud-hosted OpenVPN business solution.
Post Reply
stauffenberg
OpenVpn Newbie
Posts: 1
Joined: Wed Aug 24, 2022 12:54 pm

Need help with the connectors/EC2 instances

Post by stauffenberg » Wed Aug 24, 2022 1:25 pm

Hi Experts,

I am very new to the OpenVPN Cloud and I am testing the setup if it can suit my purpose.

My Objective :
  • Trying to setup up an AWS Cloud based VPN Server so that my internet traffic is routed from the location of the AWS server
What I have done :
  • I have created a new account in AWS and want to rely on the 750 hour EC2 free usage per month under the Free Tier Benefits
  • I followed the advice in https://openvpn.net/cloud-docs/launch-connector-on-aws/ and set up a (t2.micro) EC2 instance
    • I then downloaded the *.ovpn config file from my connector and used it in my client. The client was getting connected to host, But it couldnt hide my IP (My IP was still the same before connecting to the VPN)
  • I checked in the internet and found that I need to create a new network and set it to act as VPN egress. I did it somehow by creating another (t2.micro) EC2 instance and it seems to be working
    • When I now connect to my host, I can see that my IP has been changed as per my need
What is the issue :
While my objective has been met, I am now having two :cry: EC2 instances running in AWS (one for the host and one for the network egress). This means I will run out of Free Tier benefits during the mid of the month and Amazon will start charging me.

Question :
  • Is there any way I can meet my objective by setting up only one (t2.micro) EC2 instance?
Thanks a ton in advance

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Need help with the connectors/EC2 instances

Post by openvpn_inc » Thu Sep 01, 2022 2:57 pm

Hi,

You only need 1 EC2 instance as a network connector that will act as Internet Egress.
Also, please do not use the connection profile (.ovpn file) of your connector for your client. A connection profile cannot be used simultaneously on multiple devices. It can only be used on one device. If another device is using it, the first will be disconnected.
For the user/client profile, you must create a user and must follow the below link to download the OpenVPN Connect app, retrieve an OpenVPN profile, and connect to the VPN:
https://openvpn.net/cloud-docs/user-dow ... onnecting/

For the VPN egress, please follow the below guide:
https://openvpn.net/cloud-docs/openvpn- ... pn-egress/

If you have some doubts, you can open a ticket at https://openvpn.net/support/

Regards,
.\kionci
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply