Skip to content

Instantly share code, notes, and snippets.

For those encountering issues with the TryHackMe OpenVPN connection using the GUI interface, I have a solution that worked for me. Follow these steps:
Start by running the script provided at this link: https://github.com/tryhackme/openvpn-troubleshooting. This script generates a correct OpenVPN configuration file.
Manually add the OpenVPN configuration using nmcli:
nmcli connection import type openvpn file THM.ovpn
Modify the configuration files to ensure the connection is used only for resources on its network. Change to the appropriate directory:
@cyberaguiar
cyberaguiar / cloudSettings
Last active January 7, 2020 12:19
vscode config
{"lastUpload":"2020-01-07T12:19:20.353Z","extensionVersion":"v3.4.3"}
@cyberaguiar
cyberaguiar / node-and-npm-in-30-seconds.sh
Created September 21, 2017 19:09 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh