Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Setup SSH via VPN #109

Open
chris-pateman opened this issue Sep 16, 2021 · 0 comments
Open

Setup SSH via VPN #109

chris-pateman opened this issue Sep 16, 2021 · 0 comments

Comments

@chris-pateman
Copy link
Contributor

What would you like to change?

Not sure what place this would best be put.

This will describe the steps in setting up SSH to VM via the VPN Vnet.

Example

SSH to VM via the VPN Vnet

This page discribes how you can set up the ability to SSH into a Virtual Machine with no Public IP Address via the HMCTS VPN.
Your project will need to be managed by Terraform to set this up.

To do this you will need to setup network peering between the VPN Vnet and your application managed Vnet.
This is an example of the Terraform used to setup peering between two Vnets.

The destination Vnet details are:

vnet name: core-infra-vnet-mgmt
vnet id: /subscriptions/ed302caf-ec27-4c64-a05e-85731c3ce90e/resourceGroups/rg-mgmt/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-mgmt
vnet resource group: rg-mgmt
vnet subscription: Reform-CFT-Mgmt

Once this is setup and deployed, you can then request PlatOps to add the Address Space for your Vnet or Virtual Machine with what ports to whitelist.

Environment:
IP Address/Range:
Whitelist Ports: 22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant