This is an old revision of the document!
The CHPC requires all access to the cluster to use the CHPC Wireguard VPN server. This adds an essential additional security layer to protect the internal network and your connection.
The Wireguard VPN is fast and uses modern advanced encryption to protect your connection.
To connect to our VPN you will need to install the Wireguard software on your computer. Then download the configuration file which includes the secret encryption keys and add to your Wireguard. The steps are listed below.
Need help? Contact the CHPC Help Desk if profile creation, configuration download, or connection fails.
The most common reason for failure to connect to our Wireguard VPN is that your university or institution has blocked the port used by Wireguard on their firewall.
If you suspect this then please contact your IT department and request that they check if UDP port 51820 is open to server vpn.chpc.ac.za.
If they confirm it is blocked then please request they open UDP port 51820 only for our VPN server at DNS address vpn.chpc.ac.za.
If you are running Linux on your Laptop or workstation then configuring the Wireguard VPN may need some manual steps to be done on the command line.
The steps are straightforward:
/etc/wireguard/ directory. You will need to use the sudo command or log into your computer as root. wg0.conf.wg0.conf file for another VPN then rename it to wg1.conf instead.)sudo wg-quick up wg0 command.sudo wg-quick down wg0 to disconnect the VPN.
If you are using Debian, Ubuntu, Linux Mint or other Linux distribution based on Debian, then wg-quick may give you the error message
/usr/bin/wg-quick: line 32: resolvconf: command not found
because Debian based distributions (especially older ones) do not by default provide the resolvconf command.
The simplest fix is to set up a symbolic link with
sudo ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
Note that newer Debian/Ubuntu/Linux Mint already fix this, so only set this up if you get the “resolvconf: command not found” error message.