From 9643ef43a281081b12575252e84492dd8e34de93 Mon Sep 17 00:00:00 2001 From: Marius Ciepluch <11855163+norandom@users.noreply.github.com> Date: Sat, 11 May 2024 14:47:42 +0200 Subject: [PATCH] Updated Lab notes (markdown) --- Lab-notes.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Lab-notes.md b/Lab-notes.md index 91d6d3a..b4a1ce6 100644 --- a/Lab-notes.md +++ b/Lab-notes.md @@ -1,5 +1,24 @@ # Lab notes +## OpenVPN endpoint + +The lab has a virtual machine for NAT, which acts as a bridge between the internet (WAN) and the private networks within the AWS Cloud (VPCs). + +``` +(labmgr) marius@mleng:~/lab-manager/home_pub/student/Desktop/lab-manager$ aws ec2 describe-instances --query "Reservations[*].Instances[*].[Tags[?Key=='Name'].Value | [0], InstanceId, PublicIpAddress]" --output text +WIN10 i-022959353ab9d20b7 None +NAT instance i-0079f0bca5638f769 3.255.200.60 +CommandoVM i-0270b2fd4f8f7f9b4 54.228.141.145 +SOC i-09d511bcded67da9a None +WIN19 i-051fafd0f8f29eb28 None +DC i-085923b59e1999421 None +C2 i-05ea949965233b999 None +DC2 i-02d241c00195992f3 None +SQL i-0f21573d58369ab65 None +``` + +`NAT instance` is the VPN endpoint. + ## OpenVPN route for Elasticsearch DB access