The TryHackMe VPN Shortcut Maker script automates the process of setting up a shortcut for the TryHackMe VPN connection on your system. It prompts the user to provide the path to the VPN configuration file and then installs the necessary files to create a shortcut for starting the VPN connection easily.
- This script requires root privileges to execute. Make sure to run it with
sudo
.
- Download the
thm and install.sh
script from this repository. - link:
https://github.com/Aether-0/tryhackmevpn-shortcut.git
- Make sure the script is executable by running:
chmod +x *
- Run the script with
sudo
to install the VPN shortcut:sudo ./install.sh -v <filepath>
5.Install new vpn file :
sudo ./install.sh -n
After successful installation, you can use the following command to start the TryHackMe VPN connection:
thm -s
To stop the VPN connection, use:
thm -S
- Make sure to provide the correct path to your VPN configuration file when prompted.
- The VPN configuration file will be moved to
/opt/thmvpn.ovpn
and the script will be moved to/usr/bin/thm
for global access. - The script checks if the installation is successful and provides appropriate feedback.