Difference between revisions of "TalTech VPN"

From ICO wiki
m (eduVPN)
m (eduVPN)
Line 7: Line 7:
  
 
=eduVPN=
 
=eduVPN=
 +
'''NB! Since July 2021 will replace old [[#OpenVPN|OpenVPN]] service for library.'''
 +
 
More information:
 
More information:
* [https://confluence.ttu.ee/x/_paaAg how to configure (EST, ENG)] (redirects to [https://confluence.ttu.ee/it-info/kauguehendus-vpn/kaugtoeoeuehendus-eduvpn here])
+
* [https://eduvpn.taltech.ee/ eduVPN portal in TalTech - settings generation and download]
 +
* [https://confluence.ttu.ee/x/_paaAg how to configure in MS Windows (EST, ENG)] (redirects to [https://confluence.ttu.ee/it-info/kauguehendus-vpn/kaugtoeoeuehendus-eduvpn here])
 
* [https://www.eduvpn.org/ about eduVPN]
 
* [https://www.eduvpn.org/ about eduVPN]
* [https://python-eduvpn-client.readthedocs.io/en/master/installation.html#debian-and-ubuntu Ubuntu and Debian installation]
+
* [https://python-eduvpn-client.readthedocs.io/en/master/installation.html#debian-and-ubuntu Ubuntu and Debian client installation, configuration]
 
  sudo apt install apt-transport-https curl
 
  sudo apt install apt-transport-https curl
 
  curl -L https://app.eduvpn.org/linux/deb/eduvpn.key | sudo apt-key add -
 
  curl -L https://app.eduvpn.org/linux/deb/eduvpn.key | sudo apt-key add -
Line 16: Line 19:
 
  sudo apt update
 
  sudo apt update
 
  sudo apt install eduvpn-client
 
  sudo apt install eduvpn-client
 
'''NB! Since July 2021 will replace old [[#OpenVPN|OpenVPN]] service for library.'''
 
  
 
=Forticlient VPN=
 
=Forticlient VPN=

Revision as of 03:00, 29 May 2021

Uni-ID

Uni-ID is required to use TTU VPN.

eduVPN

NB! Since July 2021 will replace old OpenVPN service for library.

More information:

sudo apt install apt-transport-https curl
curl -L https://app.eduvpn.org/linux/deb/eduvpn.key | sudo apt-key add -
echo "deb https://app.eduvpn.org/linux/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/eduvpn.list
sudo apt update
sudo apt install eduvpn-client

Forticlient VPN

FortiClient VPN is for employees only. Does not allow to access the TTU library outside university. You will get only a secure VPN connection.

Packages


NB! About connecting using OpenFortiGUI:

  • please use SUDO -E parameter in OpenfortiGUI settings! (File→Settings)
  • on first connection attempt, the certificate must be accepted
  • next connection attempt can be actually connect via VPN

Connecting

... in IT College:

In IT College there is an option to use SSH tunnel using http://enos.itcollege.ee/ server using your IT College credentials. For convenient usage there is a Sshuttle (article in Estonian) available. This SSH tunnel is available also for students. MS Windows users can use puTTY. Also macOS users can use SSH tunnel.

OpenVPN

NB! Since July 2021 will be replaced by eduVPN.

Allows to access the TTU library outside university. Additionally you will get a secure VPN connection. Uni-ID account is required.

Client software

Installation in Debian/Ubuntu

  • open the terminal, e.g. CTRL+ALT+T and copy-paste the following line and press Enter
    • copy-paste in terminal: SHIFT+CTRL+C, SHIFT+CTRL+V
  • sudo apt-get update && sudo apt-get install openvpn openvpn-blacklist && sudo apt-get clean
  • for GUI Network Manager:
    • sudo apt-get update && sudo apt-get install network-manager-openvpn-gnome openvpn-systemd-resolved[1]

Configuration

  • download the preconfigured client.ovpn from https://toru.ttu.ee/
  • use your Uni-ID credentials to login and also later to authenticate in OpenVPN
  • for GNU/Linux in file client.ovpn after setenv PUSH_PEER_INFO please add the following lines and then save the file:

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

Connecting in Debian/Ubuntu

  • use your Uni-ID credentials
  • open the terminal, e.g. using CTRL+ALT+T
  • navigate to folder where the client.ovpn is saved or provide the full path
  • sudo openvpn --config client.ovpn or use more convenient way - the alias created below

Usually there is possible to import *.ovpn files into graphical network manager[2]. In Ubuntu 16.04 LTS cannot be imported current but in Ubuntu 18.04 LTS already can.

Convenient login in GNU/Linux

  • open the terminal, e.g. using CTRL+ALT+T
  • create an alias:
    • nano ~/.bash_aliases #open CLI text editor
    • alias vpn-ttu='sudo openvpn --config /path/client.ovpn' #add appropriate alias and path to client.ovpn, then save the file
  • source ~/.bash_aliases (or reopen terminal or relogin)
  • add permissions to run OpenVPN without entering a password
    • sudo nano /etc/sudoers.d/permissions #the file name permissions could be replaced whatever else you like
    • username ALL=(ALL) NOPASSWD: /usr/sbin/openvpn #replace username with your real one and then save the file
  • type your new alias vpn-ttu in terminal to start a VPN session


in nano text editor

  • save the file:
    • CTRL+O and Enter if you agree the proposed file name (or enter a new one if needed)
    • or F3
  • quit the file:
    • CTRL+X
    • or F2


More information about...

Benefits of TalTech VPN

TalTech helpdesk

References