- 追加された行はこの色です。
- 削除された行はこの色です。
[[UTAPwiki/計算機]]
*VPN setting [#e387aeb6]
Information by the School of Science: http://jimubu.adm.s.u-tokyo.ac.jp/public/index.php/VPN_connection_service
Linux
#Background#
'''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#
(Tested with Ubuntu 20.04.2 LTS on ThinkPad, August 2021)
***Setup [#c1bfdfc8]
(Tested with Ubuntu 20.04.2 LTS on ThinkPad, September 2022)
1. Install the network manager:
- sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
- sudo apt install network-manager-l2tp network-manager-l2tp-gnome
- 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: sos
- 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
**OSX [#e6b5a384]
TBD
Windows
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.