TTU VPN: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Line 29: Line 29:




'''Client software'''
==Client software==
* GNU/Linux http://openvpn.net/clients/index.php?client=openvpn_linux
* GNU/Linux http://openvpn.net/clients/index.php?client=openvpn_linux
* Android http://openvpn.net/clients/index.php?client=openvpn_connect_android
* Android http://openvpn.net/clients/index.php?client=openvpn_connect_android
Line 35: Line 35:




'''Installation in Debian/Ubuntu''' 
==Installation in Debian/Ubuntu==


''sudo apt-get update && sudo apt-get install openvpn openvpn-blacklist && sudo apt-get clean''
''sudo apt-get update && sudo apt-get install openvpn openvpn-blacklist && sudo apt-get clean''




'''Configuration'''
==Configuration==
* download preconfigured ''client.ovpn'' from https://toru.ttu.ee/
* download preconfigured ''client.ovpn'' from https://toru.ttu.ee/
* use your Uni-ID credentials to log in
* use your Uni-ID credentials to log in
Line 49: Line 49:




'''Connecting in Debian/Ubuntu''' 
==Connecting in Debian/Ubuntu==
* use your Uni-ID credentials
* use your Uni-ID credentials
* ''sudo openvpn --config client.ovpn''
* ''sudo openvpn --config client.ovpn''




'''Convenient login in GNU/Linux'''
==Convenient login in GNU/Linux==
* create an alias:
* create an alias:
** ''nano ~/.bash_aliases''
** ''nano ~/.bash_aliases''
** ''alias vpn-ttu='sudo openvpn --config /path/client.ovpn'''
** ''alias vpn-ttu='sudo openvpn --config /path/client.ovpn'''


More about alias
=More about alias=
* https://askubuntu.com/questions/1414/how-to-create-a-permanent-alias
* https://askubuntu.com/questions/1414/how-to-create-a-permanent-alias
* EST [[Alias bash shellis]]
* EST [[Alias bash shellis]]

Revision as of 15:23, 1 June 2017

Uni-ID

Uni-ID is required to use TTU VPN.

Tutorials

Forticlient VPN

Packages

Connecting

OpenVPN


Client software


Installation in Debian/Ubuntu

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
  • for GNU/Linux add in file client.ovpn after setenv PUSH_PEER_INFO:

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


Convenient login in GNU/Linux

  • create an alias:
    • nano ~/.bash_aliases
    • alias vpn-ttu='sudo openvpn --config /path/client.ovpn'

More about alias