You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Setting Default AWS VPN Tunnel Options
This addresses the known issue described in the Google docs for creating an HA VPN Connection with AWS
https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-ha-vpn
* feat: updating defaults
Updating the default tunnel settings. To be slightly more robust.
* feat: update DH group to 18
This is the max supported DH group on GCP currently
* docs: update docs with correct DH group
Copy file name to clipboardexpand all lines: HEADER.md
+1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ Overview of high-level configurations steps to set up HA VPN with Amazon Web Ser
4
4
* Create the HA VPN gateway and a Cloud Router. This creates 2 public IP addresses on the GCP side.
5
5
* Create two AWS Virtual Private Gateways. This creates 4 public addresses on the AWS side.
6
6
* Create two AWS Site-to-Site VPN connections and customer gateways, one for each AWS Virtual Private Gateway. Specify a non-overlapping link-local Tunnel IP Range for each tunnel, 4 total. For example, 169.254.1.4/30.
7
+
* Configure AES-256, SHA-2 and DH group 18, [as a combination of single Phase 1 and Phase 2 encryption algorithms, integrity algorithms, and DH group numbers.](https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-ha-vpn)
7
8
* Download the AWS configuration files for the generic device type.
8
9
* Create four VPN tunnels on the HA VPN gateway.
9
10
* Configure BGP sessions on the Cloud Router using the BGP IP addresses from the downloaded AWS configuration files.
Copy file name to clipboardexpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ Overview of high-level configurations steps to set up HA VPN with Amazon Web Ser
4
4
* Create the HA VPN gateway and a Cloud Router. This creates 2 public IP addresses on the GCP side.
5
5
* Create two AWS Virtual Private Gateways. This creates 4 public addresses on the AWS side.
6
6
* Create two AWS Site-to-Site VPN connections and customer gateways, one for each AWS Virtual Private Gateway. Specify a non-overlapping link-local Tunnel IP Range for each tunnel, 4 total. For example, 169.254.1.4/30.
7
+
* Configure AES-256, SHA-2 and DH group 18, [as a combination of single Phase 1 and Phase 2 encryption algorithms, integrity algorithms, and DH group numbers.](https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-ha-vpn)
7
8
* Download the AWS configuration files for the generic device type.
8
9
* Create four VPN tunnels on the HA VPN gateway.
9
10
* Configure BGP sessions on the Cloud Router using the BGP IP addresses from the downloaded AWS configuration files.
| amazon\_side\_asn | BGP ASN Number for the AWS side of the VPN |`number`|`64512`| no |
65
+
| aws\_vpn\_configs | AWS Tunnels Configs for aws\_vpn\_connection. This addresses this [known issue](https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-ha-vpn). |`map(any)`| <pre>{<br> "dh_group_numbers": [<br> "18"<br> ],<br> "encryption_algorithms": [<br> "AES256"<br> ],<br> "integrity_algorithms": [<br> "SHA2-256"<br> ]<br>}</pre> | no |
64
66
| google\_network | Google VPN Network name, can be either a name or a self\_link |`string`|`"default"`| no |
65
67
| google\_side\_asn | BGP ASN Number for the Google side of the VPN |`number`|`65534`| no |
66
68
| router\_advertise\_config | Router custom advertisement configuration, ip\_ranges is a map of address ranges and descriptions. More info can be found here https://www.terraform.io/docs/providers/google/r/compute_router.html#bgp (Default: null) | <pre>object({<br> groups = list(string)<br> ip_ranges = map(string)<br> mode = string<br> })</pre> |`null`| no |
Copy file name to clipboardexpand all lines: variables.tf
+10
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,16 @@ variable "amazon_side_asn" {
29
29
description="BGP ASN Number for the AWS side of the VPN"
30
30
}
31
31
32
+
variable"aws_vpn_configs" {
33
+
type=map(any)
34
+
description="AWS Tunnels Configs for aws_vpn_connection. This addresses this [known issue](https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-ha-vpn)."
0 commit comments