VPN¶
When working from home or outside the PCB, connecting to the VPN is needed in order to have access to resources such as the cluster.
First Things First - Install the FortiClient¶
- Go to https://www.fortinet.com/support/product-downloads#vpn
-
Download the FortiClient VPN

-
Install the FortiClient VPN on your system.
-
On Ubuntu/Debian, run:
-
On other operating systems, double-click the downloaded installer and follow the on-screen instructions.
-
-
Once FortiClient is installed, if you are on Ubuntu, run:
DNS Configuration Warning
The following commands require administrator privileges and permanently change your system-wide DNS configuration. This will force DNS queries to use the server
10.10.16.4and the domainsc.irbbarcelona.orgeven when you are not connected to the VPN. To revert this change later, remove the file and restart systemd-resolved:sudo rm /etc/systemd/resolved.conf.d/vpn.conf && sudo systemctl restart systemd-resolved -
Download this configuration file to your computer. Keep this configuration file; you will import it into FortiClient in the following steps.
- In the FortiClient VPN main window, click the three-bar menu icon (usually in the top-right corner) and select "Add a new connection".
-
In the "Add a new connection" window, click the "XML" tab, then click the "+ Import XML Configuration" button, and finally click "Save". !!! note "Important" Don't enter your password here. This will be done in the next steps.
-
Now, back in the initial FortiClient VPN window, you should see "VPN-nexica". Click the three-bar menu icon again and select "Edit the selected connection".
-
Here, you can optionally click on the option "Save login", and then enter your cluster username and then your password. Click "Save".
Security Notice
Only use Save login on your own trusted, non-shared computer. On shared or public machines, or in high-security environments, leave Save login disabled and enter your password manually each time.
-
Now you are ready. Click connect!
Connecting from the terminal¶
| Description | Command |
|---|---|
| Connect to VPN | forticlient vpn connect VPN-nexica |
| Disconnect from VPN | forticlient vpn disconnect VPN-nexica |
| Check VPN status | forticlient vpn status |
[!NOTE]
If the VPN remains in a 'Connecting' state after following these steps, try restarting your device. If this does not solve the issue, contact ITN.
References¶
- Carlos López-Elorduy