[[UTAPwiki/計算機]]

*VPN setting [#e387aeb6]
Information by the School of Science: http://jimubu.adm.s.u-tokyo.ac.jp/public/index.php/VPN_connection_service

'''To new students: Before you use it, you need to make sure that you get the School of Science account. (Please note: UTokyo account is not enough.)'''
'''To new students: Before you use it, please make sure that you get the School of Science account. (Please note: UTokyo account is not enough.)'''

**Linux [#e8575c90]
***Background [#o725a39e]
The information by the School of Science is outdated/wrong.
"Seems there is no easy way anymore to establish a L2tp VPN connection since OpenSwan has been deprecated and removed in Ubuntu 14.10". However: "A PPA exists now for network-manager-l2tp"
(https://askubuntu.com/questions/617785/how-to-connect-to-l2tp-over-ipsec-vpn)

***Setup [#c1bfdfc8]
(Tested with Ubuntu 20.04.2 LTS on ThinkPad, September 2022)
1. Install the network manager:
- sudo apt-get install network-manager-l2tp
- sudo apt-get install network-manager-l2tp-gnome

2. From the "Network" settings, add a new VPN:
- Select "Layer 2 Tunneling Protocol (L2TP)", see picture.

3. Fill out the "Identity" (see picture):
&attachref(VPNsetup.png);
&attachref(UbuntuVPN.png);
- Gateway: vpn.adm.s.u-tokyo.ac.jp
- Type: Password
- User name: your (10-digit) UTokyo user ID
- Password: your School of Science Password
- If you are asked for a pre-shared key (PSK) or shared secret: 8bARDjEggGTB

4. Fill out the "IPsec settings"
&attachref(irO5zzX4.png);
- <Tick Enable IPsec tunnel to L2TP host> 
- Pre-shared key: 8bARDjEggGTB
- Phase1 Algorithms: aes256-sha1-modp1536
- Phase2 Algorithms: 3des-sha1-modp1536

**OSX [#e6b5a384]
TBD

**Windows [#q35ce755]
(Tested with win10 on HP, October 2022)
***Method1: L2TP VPN [#je4a2581]
See "[[5 Setup for L2TP VPN service:http://jimubu.adm.s.u-tokyo.ac.jp/public/index.php/VPN_connection_service]]"
- Pre-shared key: 8bARDjEggGTB

***Method2: Setup for VPN Service using client software [#qb047236]
1. See "[[6.1 Downloading/installing client software:http://jimubu.adm.s.u-tokyo.ac.jp/public/index.php/VPN_connection_service]]" and download the software.

2. See "[[6.2 Settings:http://jimubu.adm.s.u-tokyo.ac.jp/public/index.php/VPN_connection_service]]"
Translation in English is as follows.
&attachref(SoftEtherVPN_1.PNG);

3. Login then download the [[certificate:https://certificate.adm.s.u-tokyo.ac.jp/user/]]
'''If this is the first time you use it, you need to click the "New Application" button to apply for the certificate.'''
&attachref(application.PNG);

4. The username is your (10-digit) UTokyo user ID number.
The "Specify Client Certificate" is the certificate you downloaded just now.
&attachref(specify.PNG);

***Virtual Machine [#zf1bd294]
(Tested with Ubuntu 18.04.6 in VMware workstation 15, October 2022)
You can connect successfully in your virtual machine if you finish one of the top two methods in win10.

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS