====== VPN ====== **Forticlient** is the BSC **VPN client**. This client works in Windows, Ubuntu, OpenSUSE, MacOS, iOS and Android. The following steps assume that you have root access to the machine you are configuring the VPN access. **Download the installer for your operating system: ** * **Windows 10 32/64bits (Method 1):** [[https://www.microsoft.com/es-es/p/forticlient/9wzdncrdh6mc|Microsoft Store]] * **Windows 10 32/64bits (Method 2):** [[https://www.forticlient.com/downloads|Forticlient Web]] * **Previous versions of Windows 10 32/64bits (Windows 7 and 8):** [[https://www.forticlient.com/downloads|Forticlient Web]] * **Ubuntu 32bits:** {{ :computing:howto:vpn:forticlient-sslvpn_4.4.2333-1_i386.deb |}} * **Ubuntu 64bits:** {{ :computing:howto:vpn:forticlient-sslvpn_4.4.2333-1_amd64.deb |}} * **OpenSUSE:** {{ :computing:howto:vpn:forticlientsslvpn_linux_4.4.2336.tar.gz |}} * **MacOS:** [[https://www.forticlient.com/downloads|Forticlient Web]] * **MacOS (Old versions):** {{ :computing:howto:vpn:forticlient_5.6.1.723.dmg |}} * **iOS (iPhone):** [[https://apps.apple.com/es/app/forticlient-vpn/id1475674905|Direct link in AppStore]] * **Android:** [[https://play.google.com/store/apps/details?id=com.fortinet.forticlient_vpn&hl=es|Direct link in Google Play]] ===== Video Tutorials ===== * **Previous versions of Windows 10 32/64bits (Windows 7 and 8):** https://youtu.be/cgze9qOKF6Q ===== Windows 10 ===== ==== Method 1 ==== This option consist in use **Forticlient** from Microsoft Store. So, to put the VPN using this method, follow the next steps: In the windows search bar, search **“Microsoft Store”** and open it. {{:computing:howto:vpn:vpn_win10_001_edit.png?800|}} Click in **“Search”**. {{:computing:howto:vpn:vpn_win10_002_edit.png?800|}} Now, search **“Forticlient”**. {{:computing:howto:vpn:vpn_win10_003_edit.png?800|}} Click in **“FortiClient”** application. {{:computing:howto:vpn:vpn_win10_004_edit.png?800|}} Now, click in **“Install”**. {{:computing:howto:vpn:vpn_win10_005_edit.png?800|}} If you don’t want make a **“Sign in”** to download the VPN, click in the **“X”** of the little window and the download will start without make a **“Sign in”**. {{:computing:howto:vpn:vpn_win10_006_edit.png?800|}} Now, we have the VPN installed. {{:computing:howto:vpn:vpn_win10_007_edit.png?800|}} Go in the windows search bar, search **“VPN”** and click in **“VPN settings”**. {{:computing:howto:vpn:vpn_win10_008_edit.png?800|}} Click in **“Add a VPN connection”**. {{:computing:howto:vpn:vpn_win10_009_edit.png?800|}} Here, put the following configuration and click in **“Save”**: * **VPN provider:** FortiClient * **Connection name:** BSC VPN * **Server name or address:** gw.bsc.es {{:computing:howto:vpn:vpn_win10_010_edit.png?800|}} Now, click in **“Connect”** to establish the connection. {{:computing:howto:vpn:vpn_win10_011_edit.png?800|}} Here, put your BSC user and password and click in **“Ok”** to establish the connection. {{:computing:howto:vpn:vpn_win10_012_edit.png?800|}} Now, you are connected in the BSC VPN. {{:computing:howto:vpn:vpn_win10_013_edit.png?800|}} ==== Method 2 (Recommended) ==== This option consist in use **Forticlient** from the official web. So, to put the VPN using this method, follow the next steps: Go in the [[https://www.forticlient.com/downloads|Forticlient website]] and click in **"FortiClient VPN only"**. {{:computing:howto:winforticlientwin_1_edit.png?800|}} In **"Download VPN for Windows"** click in **"Download"** and open the Forticlient installer. {{:computing:howto:winforticlientwin_2_edit_2.png?800|}} Click in **"Yes"**. {{:computing:howto:vpn:vpn_win10_2_003_edit.png?800|}} Wait for the download. {{:computing:howto:vpn:vpn_win10_2_004_edit.png?800|}} Mark the box option and click **"Next"**. {{:computing:howto:vpn:vpn_win10_2_005_edit.png?800|}} Click in **"Next"** {{:computing:howto:vpn:vpn_win10_2_006_edit.png?800|}} Click in **"Install"**. {{:computing:howto:vpn:vpn_win10_2_007_edit.png?800|}} Wait for the installation to finish. This process can take between 1-30 minutes. {{:computing:howto:vpn:vpn_win10_2_008_edit.png?800|}} When the installation finish, click in **"Finish"**. {{:computing:howto:vpn:vpn_win10_2_009_edit.png?800|}} Open FortiClient VPN. {{:computing:howto:vpn:vpn_win10_2_010_edit.png?800|}} Mark the box option and click in **"I accept"**. {{:computing:howto:vpn:vpn_win10_2_011_edit.png?800|}} Now, click in **"Configure VPN"**. {{:computing:howto:vpn:vpn_win10_2_012_edit.png?800|}} Now, put the following configuration and click in **"Save"**: * **Connection Name:** VPN BSC * **Remote Gateway:** gw.bsc.es * **Port:** 443 {{:computing:howto:vpn:vpn_win10_2_013_edit.png?800|}} Here, put your BSC user and password and click in **"Connect"** to establish the connection. {{:computing:howto:vpn:vpn_win10_2_014_edit.png?800|}} Now, you are connected in the BSC VPN. {{:computing:howto:vpn:vpn_win10_2_015_edit.png?800|}} ===== Windows 7 and 8 ===== Go in the [[https://www.forticlient.com/downloads|Forticlient website]] and click in **"FortiClient VPN only"**. {{:computing:howto:winforticlientwin_1_edit.png?800|}} In **"Download VPN for Windows"** click in **"Download"** and open the Forticlient installer. {{:computing:howto:winforticlientwin_2_edit_2.png?800|}} Click in **"Execute"**. {{:computing:howto:vpn:vpn_win7_003.png?800|}} Click in **"Yes"**. {{:computing:howto:vpn:vpn_win7_004.png?800|}} Mark the box option and click **"Next"**. {{:computing:howto:vpn:vpn_win7_005.png?800|}} Click in **"Next"**. {{:computing:howto:vpn:vpn_win7_006.png?800|}} Click in **"Install"**. {{:computing:howto:vpn:vpn_win7_007.png?800|}} Wait for the installation to finish. This process can take between 1-30 minutes. {{:computing:howto:vpn:vpn_win7_008.png?800|}} When the installation finish, click in **"Finish"**. {{:computing:howto:vpn:vpn_win7_009.png?800|}} Open FortiClient VPN. {{:computing:howto:vpn:vpn_win7_010.png?800|}} Mark the box option and click in **"I accept"**. {{:computing:howto:vpn:vpn_win7_011.png?800|}} Now, click in **"Configure VPN"**. {{:computing:howto:vpn:vpn_win7_012.png?800|}} Now, put the following configuration and click in **"Save"**: * **Name:** BSC VPN * **Remote gateway:** gw.bsc.es * **Port:** 443 {{:computing:howto:vpn:vpn_win7_013.png?800|}} Here, put your BSC user and password and click in **"Connect"** to establish the connection. {{:computing:howto:vpn:vpn_win7_014.png?800|}} Now, you are connected in the BSC VPN. {{:computing:howto:vpn:vpn_win7_015.png?800|}} ===== MacOS ===== Go in the [[https://www.forticlient.com/downloads|Forticlient website]] and click in **"FortiClient VPN only"**. If you have a old version of MacOS, download the file from the wiki. {{:computing:howto:winforticlientwin_1_edit.png?800|}} In **"Download VPN for MacOS"** click in **"Download"** and open the Forticlient installer. {{:computing:howto:macosforticlientmacos_2_edit.png?800|}} Make double click in **“FortiClientUpdate”**. {{:computing:howto:vpn:vpn_macos_003_edit.png?800|}} Click in **“Open”**. {{:computing:howto:vpn:vpn_macos_004_edit.png?800|}} Now, click in **“Install”**. {{:computing:howto:vpn:vpn_macos_005_edit.png?800|}} Click in **“Continue”**. {{:computing:howto:vpn:vpn_macos_006_edit.png?800|}} Click in **“Continue”**. {{:computing:howto:vpn:vpn_macos_007_edit.png?800|}} Click in **“Agree”**. {{:computing:howto:vpn:vpn_macos_008_edit.png?800|}} Now, click in **“Install”**. {{:computing:howto:vpn:vpn_macos_009_edit.png?800|}} Here, put your PC password and click in **“Install Software”**. {{:computing:howto:vpn:vpn_macos_010_edit.png?800|}} Click in **“Close”**. {{:computing:howto:vpn:vpn_macos_011_edit.png?800|}} When the installation finish, open Forticlient. {{:computing:howto:vpn:vpn_macos_012_edit.png?800|}} Mark the box option and click in **“I accept”**. {{:computing:howto:vpn:vpn_macos_013_edit.png?800|}} Now, click in **“Configure VPN”**. {{:computing:howto:vpn:vpn_macos_014_edit.png?800|}} Now, put the following configuration and click in **“Save”**: * **Name:** VPN BSC * **Remote gateway:** gw.bsc.es * **Port:** 443 {{:computing:howto:vpn:vpn_macos_015_edit.png?800|}} Here, put your BSC user and password and click in **“Connect”** to establish the connection. {{:computing:howto:vpn:vpn_macos_016_edit.png?800|}} When you connect the VPN for first time, it will ask for additional permissions. So click in **“Open Security Preferences”**. {{:computing:howto:vpn:vpn_macos_017_edit.png?800|}} Now, click in the padlock. {{:computing:howto:vpn:vpn_macos_018_edit.png?800|}} And click in **“Allow”** the software from **"Fortinet, Inc"**. {{:computing:howto:vpn:vpn_macos_019_edit.png?800|}} Now, you are connected in the BSC VPN. {{:computing:howto:vpn:vpn_macos_020_edit.png?800|}} ===== OpenSUSE ===== To install the VPN in OpenSUSE we have 2 methods: ==== Method 1 ==== This option consist in use **Openfortivpn**. It depends on your OpenSUSE version you can find the program **“openfortivpn”** in your OS repository. The minimum version required of openfortivpn is **1.11**. So, to put the VPN using this method, follow the next steps: Go in the operating system finder, search **"Yast"** and click it. {{:computing:howto:vpn:vpn_open1_001.png?800|}} Put the password of **"root"** user and click in **"Continue"**. {{:computing:howto:vpn:vpn_open1_002.png?800|}} Go in **"Software Management"**. {{:computing:howto:vpn:vpn_open1_003.png?800|}} In the finder, put **"openfortivpn"** and click in search. {{:computing:howto:vpn:vpn_open1_004.png?800|}} Now, you see the **"openfortivpn"** package. Before install it, check that the version is at least **1.11**. {{:computing:howto:vpn:vpn_open1_005.png?800|}} Once you check the version, make right click in **"openfortivpn"** and click in install. {{:computing:howto:vpn:vpn_open1_006.png?800|}} Now, click in **"Accept"**. {{:computing:howto:vpn:vpn_open1_007.png?800|}} When the installation finish click in **"Finish"**. {{:computing:howto:vpn:vpn_open1_008.png?800|}} Now, in a terminal put **"su -"**, make **"enter"**, and put the password of **"root"** user. {{:computing:howto:vpn:vpn_open1_009.png?800|}} **In a terminal put:** openfortivpn gw.bsc.es:443 -u yourBSCusername, make **"enter"** and put your BSC password. {{:computing:howto:vpn:vpn_open1_010.png?800|}} Now, you are connected in the BSC VPN. {{:computing:howto:vpn:vpn_open1_011.png?800|}} ==== Method 2 ==== This option consist in use the official client, Forticlient. So, to put the VPN using this method, follow the next steps: Go in the wiki and download the file for the OpenSUSE VPN. {{:computing:howto:vpn:vpn_open2_001.png?800|}} Click in the downloaded file. {{:computing:howto:vpn:vpn_open2_002.png?800|}} Here you see the downloaded file. Sometimes the system extract automatically the **".tar.gz"** file, if not, extract the file of the downloaded package. {{:computing:howto:vpn:vpn_open2_003.png?800|}} Now, in a terminal, put **“su –“**, make **"enter"**, and put the password of **"root"** user. {{:computing:howto:vpn:vpn_open2_004.png?800|}} Go in the **"forticlientsslvpn"** folder inside the downloaded package. In my case, I have this folder in Downloads. {{:computing:howto:vpn:vpn_open2_005.png?800|}} In the terminal put **"./fortisslvpn.sh"** to execute the VPN script. {{:computing:howto:vpn:vpn_open2_006.png?800|}} Now, has been opened the VPN program. To continue click in **"Agree"**. {{:computing:howto:vpn:vpn_open2_007.png?800|}} Go in settings. {{:computing:howto:vpn:vpn_open2_008.png?800|}} Now, click in **“default”** and click in the minus sign to remove the **“default”** connection. {{:computing:howto:vpn:vpn_open2_009.png?800|}} Click in the box **“Keep connection alive until manually stopped”** and click in the plus sign to add a new connection. {{:computing:howto:vpn:vpn_open2_010.png?800|}} Put the following configuration to create the connection and click **"Create"** : * **Connection:** BSC * **Server:** gw.bsc.es * **Port:** 443 * **User:** BSC User * **Password:** BSC user password {{:computing:howto:vpn:vpn_open2_011.png?800|}} Now, click in **“BSC”** and **“Done”**. {{:computing:howto:vpn:vpn_open2_012.png?800|}} In the drop-down menu click in **“BSC”** and **“Connect”**. {{:computing:howto:vpn:vpn_open2_013.png?800|}} In the certificate window click in **“Continue”**. {{:computing:howto:vpn:vpn_open2_014.png?800|}} Now, you are connected in the VPN. {{:computing:howto:vpn:vpn_open2_015.png?800|}} ==== Common problems ==== If you have the VPN installed and you have network problems or problems to acces in some websites, in a terminal, put **"sudo netconfig update -f"** and make enter. {{:computing:howto:vpn:sudonetconfigupdate-f.png?800|}} ===== Ubuntu ===== Download the Forticlient file (x32 or x64 bits at depends of your computer) from the wiki. {{:computing:howto:vpn:forticlient_ubuntu_1_.png?800|}} Make double click in the file and install the program. {{:computing:howto:vpn:forticlient_ubuntu_1.png?800|}} When the installation finish, open Forticlient. {{:computing:howto:vpn:forticlient_ubuntu_2.png?800|}} In this window click in accept. {{:computing:howto:vpn:forticlient_ubuntu_3.png?800|}} Then click in “Agree”. {{:computing:howto:vpn:forticlient_ubuntu_4.png?800|}} Now put the password of root of your computer and click in accept. {{:computing:howto:vpn:forticlient_ubuntu_5.png?800|}} Go in settings. {{:computing:howto:vpn:forticlient_ubuntu_6.png?800|}} Now, click in “default” and in the minus sign to remove the “default” connection. {{:computing:howto:vpn:forticlient_ubuntu_7.png?800|}} Click in the box “Keep connection alive until manually stopped” and click in the plus sign to add a new connection. {{:computing:howto:vpn:forticlient_ubuntu_8.png?800|}} Put the following configuration to create the connection and click "Create" : * **Connection:** BSC * **Server:** gw.bsc.es * **Port:** 443 * **User:** BSC User * **Password:** BSC user password {{:computing:howto:vpn:forticlient_ubuntu_9.png?800|}} Now, click in “BSC” and “Done”. {{:computing:howto:vpn:forticlient_ubuntu_10.png?800|}} In the drop-down menu click in “BSC” and “Connect”. {{:computing:howto:vpn:forticlient_ubuntu_11.png?800|}} In the certificate window click in “Continue”. {{:computing:howto:vpn:forticlient_ubuntu_12.png?800|}} Now, you are connected in the VPN. {{:computing:howto:vpn:forticlient_ubuntu_13.png?800|}} ===== Android ===== Go in [[https://play.google.com/store/apps/details?id=com.fortinet.forticlient_vpn&hl=es|GooglePlay]] and click in **"Install"** to download FortiClient VPN. {{:computing:howto:vpn:vpn_android_001.jpg?200|}} Click in Open. {{:computing:howto:vpn:vpn_android_002.jpg?200|}} In the Welcome message click in **"Accept"**. {{:computing:howto:vpn:vpn_android_003.jpg?200|}} Now, click in **"Accept"**. {{:computing:howto:vpn:vpn_android_004.jpg?200|}} Click in **"Allow"** to give permissions to Forticlient. {{:computing:howto:vpn:vpn_android_005.jpg?200|}} To continue, put the following information and click in **"Create"**: * **Name:** BSC * **VPN TYPE:** SSL VPN {{:computing:howto:vpn:vpn_android_006.jpg?200|}} Click in server, put the following information and click in **"Accept"**: * **Server:** gw.bsc.es {{:computing:howto:vpn:vpn_android_007.jpg?200|}} Click in **"Username"**. {{:computing:howto:vpn:vpn_android_008.jpg?200|}} Put your BSC username and click **"Accept"**. {{:computing:howto:vpn:vpn_android_009.jpg?200|}} Go back. {{:computing:howto:vpn:vpn_android_010.jpg?200|}} Click in **"Connect"**. {{:computing:howto:vpn:vpn_android_011.jpg?200|}} Put your BSC password and click in **"Login"**. {{:computing:howto:vpn:vpn_android_012.jpg?200|}} In the message, click in **"Accept"** to give permissions to the VPN connexion. {{:computing:howto:vpn:vpn_android_013.jpg?200|}} In this moment you are connected in the VPN. {{:computing:howto:vpn:vpn_android_014.jpg?200|}} ===== iOS ===== Go in the [[https://apps.apple.com/es/app/forticlient-vpn/id1475674905|App Store]] and download the **"FortiClient VPN"** app. Be aware that there are other apps but this is the correct one. {{:computing:howto:vpn:vpn_ios_001.png?200|}} Open the application and accept the licence. It will ask for additional permission, click in **"Allow"**. {{:computing:howto:vpn:vpn_ios_002.png?200|}} Go in **"Connections"** > **"Select connection"** > **"Add Configuration..."**. {{:computing:howto:vpn:vpn_ios_003.png?200|}} Now, put the following information and click in **"Save"**: **Account info:** * **Name:** BSC * **Host:** gw.bsc.es * **Port:** 443 * **User:** yourBSCusername {{:computing:howto:vpn:vpn_ios_004i5.png?200|}} Click in **"Done"**. {{:computing:howto:vpn:vpn_ios_006.png?200|}} Return to the main VPN screen. {{:computing:howto:vpn:vpn_ios_007.png?200|}} Click in **"VPN"**. {{:computing:howto:vpn:vpn_ios_008.png?200|}} Now you are connected in the VPN. {{:computing:howto:vpn:vpn_ios_009.png?200|}}