How can I create vpn connections using cloud services like AWS?

I wanted to use the Google Cloud Service or AWS to connect to the internet via VPN, thus having an alternative route for the connection, because my provider has a high ping in relation to certain sites, and low in relation to the servers of these companies, and I think this process can solve. Can anyone help me?

Author: TempAccount2, 2018-08-26

1 answers

On AWS you first need to configure a Virtual Private Gateway (VPG). It will allow VPN tunnels to be created later. Then create a Customer Gateway, which is actually only your public IP that you will use to close the VPN with AWS. With VPG and Customer Gateway the VPN (on the AWS side) can be configured. The process is simple, just launch the wizard to create a new VPN and link the VPG, Customer gateway, which was defined earlier, and at the end you must define which private network your VPN will communicate to (this is the network you use on AWS). After AWS provision your VPN it will provide you with a configuration file with the data of the IPSec connection that was created, you must select the configuration that best suits your equipment (on your side). This file contains all the data to close the IPSec VPN connection (pre-shared key, Ikei, peer). After closing the VPN do not forget to configure the routing on your routes Tables for traffic to be routed between your AWS network and your local network.

In this link has this procedure that I described in detail: https://docs.aws.amazon.com/pt_br/AmazonVPC/latest/UserGuide/SetUpVPNConnections.html

 0
Author: Raoni Sian, 2018-08-26 22:48:22