Ask a Question
Are you all planning on adding integration for GCP or Azure along with AWS?
Posted by Colson Wilhoit over 1 year ago
VPN fails to connect requiring recreating the lab
Sometimes connecting to the VPN fails where the only option is to destroy the lab and recreate it again. I've tried regenerating VPN configs and rebooting the lab, but it does not work. I wonder if this is a bug in Snap Labs or if I am doing something wrong. I have pasted the output from my Windows 10 OpenVPN client. ``` Thu Aug 12 17:16:32 2021 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Feb 21 2019 Thu Aug 12 17:16:32 2021 Windows version 6.2 (Windows 8 or greater) 64bit Thu Aug 12 17:16:32 2021 library versions: OpenSSL 1.1.0j 20 Nov 2018, LZO 2.10 Thu Aug 12 17:16:32 2021 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340 Thu Aug 12 17:16:32 2021 Need hold release from management interface, waiting... Thu Aug 12 17:16:32 2021 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340 Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'state on' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'log all on' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'echo all on' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'bytecount 5' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'hold off' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'hold release' Thu Aug 12 17:16:32 2021 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication Thu Aug 12 17:16:32 2021 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication Thu Aug 12 17:16:32 2021 MANAGEMENT: >STATE:1628752592,RESOLVE,,,,,, Thu Aug 12 17:16:32 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]188.8.131.52:1194 Thu Aug 12 17:16:32 2021 Socket Buffers: R=[65536->65536] S=[65536->65536] Thu Aug 12 17:16:32 2021 UDP link local: (not bound) Thu Aug 12 17:16:32 2021 UDP link remote: [AF_INET]184.108.40.206:1194 Thu Aug 12 17:16:32 2021 MANAGEMENT: >STATE:1628752592,WAIT,,,,,, Thu Aug 12 17:17:32 2021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Thu Aug 12 17:17:32 2021 TLS Error: TLS handshake failed Thu Aug 12 17:17:32 2021 SIGUSR1[soft,tls-error] received, process restarting Thu Aug 12 17:17:32 2021 MANAGEMENT: >STATE:1628752652,RECONNECTING,tls-error,,,,, Thu Aug 12 17:17:32 2021 Restart pause, 5 second(s) Thu Aug 12 17:17:37 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]220.127.116.11:1194 Thu Aug 12 17:17:37 2021 Socket Buffers: R=[65536->65536] S=[65536->65536] Thu Aug 12 17:17:37 2021 UDP link local: (not bound) Thu Aug 12 17:17:37 2021 UDP link remote: [AF_INET]18.104.22.168:1194 Thu Aug 12 17:17:37 2021 MANAGEMENT: >STATE:1628752657,WAIT,,,,,, ```
Posted by Pentest over 1 year ago
2 NIC setup Ubuntu 18/20 failing
Hello - I have the following issue - I am trying to setup a webserver as part of an AD Forest and in order to achieve that I am trying to create 2 NICs on the webserver. The setup of the NICs in snaplabs is intuitive, but after adding the 2nd NIC via the interface I am only able to see one of them as up via `ifconfig`. I can find the 2nd one via `ifconfig -a`, but it does not have an IP address (neither v4, nor v6). When I use `sudo ifconfig eth1 up` it becomes available but only receives an IPv6 address. Trying to get a new IPV4/6 address via `dhclient -r eth1` disconnects the guacamole connection and renders the box unusable, even after rebooting of the box and the whole network. The same happens if I add the eth1 NIC via `/etc/netplan/50-cloud-init.yaml` and then try to apply the changes via `sudo netplan apply`. You can find screenshots of the process here: https://maikroservice.notion.site/setup-webserver-snaplabs-io-887bf38ea97a47098c3aa6621767abae I don't know if this is a bug or due to my lack of understanding the process but I assumed that if I add a NIC via the snaplabs interface that it would be up and appearing via e.g. `ifconfig` and also receive the IP address I specified in the snaplabs interface (e.g. IPv4 10.10.10.202 here) Any chance you can help me figure this out? Thank you - maikroservice
Posted by Maik Ro over 1 year ago
Lab Fails to Create
It says my Amazon AWS account is connected and I create my lab but the Admin box for my lab fails to startup and I can't create any other systems. I'm not able to stop or reboot the Admin box either. I've tried deleting the lab and re-creating, deleting the cloud formation stack and re-connecting with no success. Is there something I'm missing or something I need to do to my AWS account?
Posted by Colson Wilhoit over 1 year ago
Lab Time Remaining?
If we are provisioned lab time as part of a training class, is there a way to see how much time is remaining? This way the student can manage their time in the labs appropriately.
Posted by Th3M00se over 1 year ago
Allow Snaplabs to access my labs that were deployed through Terraform
Hi, May I know if there's any configurations that I can change so that Snaplabs can access the labs/VMs I deployed through Terraform? Thanks. Regards, Xanda
Posted by Xanda over 1 year ago
Questions on creating a Kali Linux lab
I've been watching a couple of videos and am very intrigued by your service. I see you have Kali Linux already included, but what if we want to add additional machines to the lab, such as a Vulnhub machine, or maybe Metasploitable? Those are machines that I would normally use in VirtualBox but am looking for a cloud solution.
Posted by Chris Ranes about 1 year ago
"Failed to create VPC. Did you reach an EC2 Limit?"
How can I troubleshoot this issue?
Posted by White Cyberduck 8 months ago
Hello, Is there a command walk through for the Shirts lab? I'm preparing to give training a systematic guide of the various attack paths would be helpful. I do see the existing guide, but it's a technique guide, which is helpful for the students, but not the instructor. I'm looking for command by command. Thank you.
Posted by Jason Lang over 1 year ago
What's an App?
I noticed that there's a setting to deploy Apps. What exactly are these Apps and what can they be used for?
Posted by Taylor Nguyen over 1 year ago