-
Notifications
You must be signed in to change notification settings - Fork 1
/
startup.txt
24 lines (17 loc) · 745 Bytes
/
startup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# mount shared folder
sudo vmhgfs-fuse .host:/shared /mnt/shared -o subtype=vmhgfs-fuse,allow_other;
# open notes
cd /mnt/shared; code .
# firewall up
sudo sh /mnt/shared/firewall.sh
# firewall down
sudo sh /mnt/shared/no_firewall.sh
# launch + connect VPN
# launch OBS + begin recording
# connect to lab vpn
sudo openvpn --config /mnt/shared/OS-XXXXXX-LAB.ovpn --auth-user-pass /mnt/shared/vpn-creds.txt
sudo openvpn --config /mnt/shared/OS-XXXXXX-EXAM.ovpn --auth-user-pass /mnt/shared/vpn-creds.txt
# connect to win10 workstation, with latest RDP 5 protocol that includes clipboard capability
rdesktop -z -u student -p lab -5 -K -r clipboard:CLIPBOARD 192.168.198.10
# connect to debian client
sshpass -p lab ssh [email protected]