Heroku Enterprise

<<<<<<< HEAD:Content/Topics-IPSec-Tunnel-Integration-Del-03/Cloud-base/More-Cloud-Options/Heroku-Enterprise.htm ======= >>>>>>> db224f4bae568d6f9f7c3659d1ae288df8757505:Content/Topics-SASE-IPsec-VPN/Cloud-based/More-Cloud-Options/Heroku-Enterprise.htm

Configuration Steps

After you obtain your private gateway, to set up a VPN gateway for the Private Space, run:

* Shell Copy ``` heroku spaces:vpn:connect \ --name perimeter81 \ --ip PUBLIC_IP_OF_YOUR_VPN_GATEWAY \ --cidrs '10.255.248.0/21' \ --space SPACE

Setting up the gateway takes a few minutes. Run the Wait command to wait for the gateway to be ready:

* Shell Copy ``` heroku spaces :vpn :wait --space SPACE perimeter81

When the gateway is ready, to get the configuration, run:

* Shell Copy ``` heroku spaces :vpn :info --space SPACE perimeter81

The above command returns a table that contains all the details you need to configure .

Sample output:

* Text
Copy ```
heroku spaces:vpn:info --space SPACE perimeter81
=== SPACE VPNs
VPN Tunnel  Customer Gateway  VPN Gateway    Pre-shared Key  Routable Subnets  IKE Version
──────────  ────────────────  ───────────── ──────────────  ────────────────  ───────────
Tunnel 1 52.91.173.226 34.203.187.158 abcdef12345     10.0.0.0 /16 1 Tunnel 2 52.91.173.226 34.227.70.143 123456abcdef    10.0.0.0 /16 1