This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:vpn [2026/06/22 09:32] ischeepers |
guide:vpn [2026/07/02 10:08] (current) kevin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== How to Use the CHPC VPN ===== | + | ======CHPC VPN====== |
| + | |||
| + | The CHPC requires all access to the cluster to use the CHPC Wireguard VPN server. | ||
| + | |||
| + | 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. | ||
| + | |||
| + | |||
| + | =====How to Use the CHPC VPN===== | ||
| * Log in to the **CHPC User Portal**. | * Log in to the **CHPC User Portal**. | ||
| - | * Navigate to the **VPN** page at [[http:// | + | * Navigate to the **VPN** page at [[https://users.chpc.ac.za/ |
| {{ : | {{ : | ||
| * If you do not yet have a VPN profile, click **Create Profile**. | * If you do not yet have a VPN profile, click **Create Profile**. | ||
| * Click **Download Configuration** to download your WireGuard configuration file. | * Click **Download Configuration** to download your WireGuard configuration file. | ||
| - | * Install **WireGuard** on your device. | + | * Install **WireGuard** on your device: for installation see [[https:// |
| * Import the downloaded configuration file into WireGuard. | * Import the downloaded configuration file into WireGuard. | ||
| * Click **Connect / Activate** in WireGuard to establish the VPN connection. | * Click **Connect / Activate** in WireGuard to establish the VPN connection. | ||
| {{ : | {{ : | ||
| * Once connected, you can securely access internal CHPC resources (such as SSH access to Lengau). | * Once connected, you can securely access internal CHPC resources (such as SSH access to Lengau). | ||
| - | * To SSH to Lengau, please follow the SSH keys process first: | + | * To SSH to Lengau, please follow the SSH keys process first: |
| - | For SSH key setup instructions, | + | |
| * Disconnect the VPN when you are finished. | * Disconnect the VPN when you are finished. | ||
| **Need help? | **Need help? | ||
| - | Contact CHPC support | + | Contact |
| + | |||
| + | =====Problems That May Arise===== | ||
| + | |||
| + | ====Blocked Port==== | ||
| + | |||
| + | 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. | ||
| + | |||
| + | This occurs when you are at your university and connected to its network (WiFi or Ethernet) and find that when activating the VPN it fails. | ||
| + | |||
| + | Then please contact your university' | ||
| + | |||
| + | 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**. | ||
| + | |||
| + | |||
| + | ====Using Multiple VPNs==== | ||
| + | |||
| + | If you are working from home or away from your institution but have to use a VPN to connect to its web services, then you may find that activating our VPN at the same time does not work. | ||
| + | |||
| + | In general, running multiple VPNs simultaneously on the same device can be unreliable as they can interfere with each other because your operating system can not reliably determine which VPN to use for which connection. | ||
| + | |||
| + | We recommend deactivating other VPNs before using the CHPC VPN if you have any issues. | ||
| + | |||
| + | |||
| + | |||
| + | =====Linux Users===== | ||
| + | |||
| + | 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: | ||
| + | |||
| + | * Copy the config file you downloaded into the ''/ | ||
| + | * Then rename that file to '' | ||
| + | * Then start the VPN with the '' | ||
| + | * After you are finished using the cluster and have disconnected from the CHPC, then use '' | ||
| + | |||
| + | ===resolvconf error message=== | ||
| + | |||
| + | If you are using Debian, Ubuntu, Linux Mint or other Linux distribution based on Debian, then '' | ||
| + | |||
| + | / | ||
| + | |||
| + | because Debian based distributions (especially older ones) do not by default provide the '' | ||
| + | |||
| + | The simplest fix is to set up a symbolic link with | ||
| + | <code bash> | ||
| + | sudo ln -s / | ||
| + | </ | ||
| + | |||
| + | **Note** that newer Debian/ | ||