TTU VPN: Difference between revisions
From ICO wiki
Jump to navigationJump to search
Line 65: | Line 65: | ||
'''in nano text editor''' | '''in nano text editor''' | ||
* save the file: | * save the file: | ||
** CTRL+O and Enter if you agree the proposed file name (or enter a new one if needed) | ** CTRL+O and ''Enter'' if you agree the proposed file name (or enter a new one if needed) | ||
** or F3 | ** or F3 | ||
* quit the file: | * quit the file: |
Revision as of 15:08, 1 June 2017
Uni-ID
Uni-ID is required to use TTU VPN.
Tutorials
- EST https://wiki.ttu.ee/et/juhendid/it/doc/lib_toru
- ENG https://wiki.ttu.ee/en/manuals/it/doc/lib_toru
Forticlient VPN
Packages
- clean client http://www.forticlient.com/
- Debian packages https://hadler.me/linux/forticlient-sslvpn-deb-packages/
- for MS Windows, TTU preconfigured http://www.ttu.ee/FortiClient.exe
Connecting
- use your Uni-ID credentials to log in
- Web: https://vpn.ttu.ee:443/
- URL in VPN client: vpn.ttu.ee
- Port: 443
OpenVPN
Client software
- for MS Windows and macOS clients, please login https://toru.ttu.ee/ and download directly from there
- GNU/Linux http://openvpn.net/clients/index.php?client=openvpn_linux
- Android http://openvpn.net/clients/index.php?client=openvpn_connect_android
- iOS http://openvpn.net/clients/index.php?client=openvpn_connect_ios
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
Configuration
- download preconfigured client.ovpn from https://toru.ttu.ee/
- use your Uni-ID credentials to log in and also later to authenticate OpenVPN
- for GNU/Linux add 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
- sudo openvpn --config client.ovpn or use more convenient way - the alias created below
Convenient login in GNU/Linux
- open 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 password every time
- 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...
- sudoers at https://help.ubuntu.com/community/Sudoers
- alias
Benefits of TTU VPN
- you have a secure tunnel over unsecure network, e.g. public WiFi, mobile internet or similar
- can use TTU library databases http://www.ttu.ee/asutused/raamatukogu/10640/andmebaasid-databases/
TTU helpdesk
- in case of questions, issues - please contact TTU helpdesk