UTAPwiki/計算機

VPN setting

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, please make sure that you get the School of Science account. (Please note: UTokyo account is not enough.)

Linux

Background

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, 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):
VPNsetup.png
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"
irO5zzX4.png

  • <Tick Enable IPsec tunnel to L2TP host>
  • Pre-shared key: 8bARDjEggGTB
  • Phase1 Algorithms: aes256-sha1-modp1536
  • Phase2 Algorithms: 3des-sha1-modp1536

OSX

TBD

Windows

(Tested with win10 on HP, October 2022)

Method1: L2TP VPN

See "5 Setup for L2TP VPN service"

  • Pre-shared key: 8bARDjEggGTB

Method2: Setup for VPN Service using client software

1. See "6.1 Downloading/installing client software" and download the software.

2. See "6.2 Settings"
Translation in English is as follows.
SoftEtherVPN_1.PNG

3. Login then download the certificate
If this is the first time you use it, you need to click the "New Application" button to apply for the certificate.
application.PNG

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

Virtual Machine

(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.


添付ファイル: filespecify.PNG 44件 [詳細] fileapplication.PNG 49件 [詳細] fileSoftEtherVPN_1.PNG 47件 [詳細] fileSoftEtherVPN_0.PNG 26件 [詳細] fileSoftEtherVPN.PNG 22件 [詳細] fileirO5zzX4.png 50件 [詳細] fileUbuntuVPN.png 108件 [詳細] fileVPNsetup.png 109件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-10-07 (金) 21:51:26 (566d)