Updated Lab notes (markdown)

Marius Ciepluch 2024-05-11 14:47:42 +02:00
parent 989fb46c3c
commit 9643ef43a2

@ -1,5 +1,24 @@
# Lab notes # 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 ## OpenVPN route for Elasticsearch DB access