Configurations for OpenVPN client

From wiki.IPBRICK.COM
Jump to: navigation, search

SSL

Configuração de VPN SSL para ligar à IPBRICK com autenticação de dois fatores (2FA): https://www.youtube.com/watch?v=dGFEC0ctEHE

Each user needs its own certificate. These are generated in the IPBrick communications server. Next, we will see the configuration data necessary for several devices.

NOTE: The attached configuration is protected by a unique password for each certificate/user.

Smartphones/tablets - install OpenVPN client

iOS IPhone/IPad : Apple Store (iTunes) : OpenVPN Connect

Android : Google Play : OpenVPN Connect

  • Download and install the application from:
  • Install the certificate: the certificado.zip needs to be handled and rewritten so it fits all together in a single .ovpn file;
  • Send the .ovpn file to the device, click to open and it will be automatically associated to the openVPN APP.

PCs / Laptops

MAC OS - TunnelBlick

  • Download and install the client application from:
  • Install certificate: decompress the certified file to the folder "certificado", change the name of the folder for "certificado.tblk" (add the extension .tblk) and you'll notice that, when the folder's name is being changed, the icon of the folder will also change to one associated to tunnelblick, so you'll only have to click on this icon and it will appear an option to install;
  • Start connection: click on the tunnelblick icon in the upper right-hand corner (near the clock) and connect - insert the password of the certificate (as an option, you may save the password by clicking in the keys).

Windows XP/7/Vista/8/10 - openVPN

  • Download and install the client application from:
  • Install and configure the desktop shortcut to execute always as an Administrator;
  • Install certificate: decompress the certificado.zip to the folder %programfiles%\openvpn\config\ (check and adjust the path according to the installation);
  • Start connection:

Linux - Native openVPN client

  • openvpn, network-manager-openvpn
  • Ubuntu, Debian : apt-get install network-manager-openvpn-gnome

After installing the client application, it's necessary to "double-click" on the attached file, which contains all the information on VPN configurations.

After completing the configuration, every time you wish to start the VPN connection, you just have to initiate the client application and give instructions to establish the recorded connection. It is also possible to memorize the credentials (password) to open the certificate.