macOS 11.4 (Big Sur) or later

Follow the steps below to configure the settings.

  1. VPN connection settings

  2. Confirm VPN connection

VPN connection settings

  1. The first step is to configure the connection settings.

Click on the Apple button ( macos1012_applemenu ) and click on System Preferences in the menu.

../../../../_images/l2tp_macos114_setup-01.png
  1. Click on Network in System Preferences .

../../../../_images/l2tp_macos114_setup-02.png
  1. Click the + button under the right menu. In the window that appears, enter the following information and press the create button.

Interface

VPN

VPN Type

L2TP over IPSec

service name

An arbitrary name ( UEC in the example)

../../../../_images/l2tp_macos114_setup-03.png
../../../../_images/l2tp_macos114_setup-04.png
  1. The name of the connection you created ( UEC in the example) will appear in the left menu, click on it. Enter the following information and click Authentication Settings at the end.

server address

vpn.cc.uec.ac.jp

account name

UEC Account Name

display VPN status in menu bar

Check

../../../../_images/l2tp_macos114_setup-05.png
  1. In the window that appears, enter the following information, and finally click OK .

Password

Check the box and enter the password for your UEC account.

shared secret

Check and enter the pre-shared key of the VPN pre-shared key distribution page 学内 .

../../../../_images/l2tp_macos114_setup-06.png
  1. Click detail .

../../../../_images/l2tp_macos114_setup-07.png
  1. Click on the Options tab and check Send all traffic over VPN connection .

../../../../_images/l2tp_macos114_setup-08.png
  1. Next, configure the proxy and Socks settings, because your PC will be connected to the campus private network when connected to the VPN. Click the proxy tab, and check automatic proxy detection .

../../../../_images/l2tp_macos114_setup-09.png
  1. Check automatic proxy configuration and enter the following information in the URL field on the right.

URL

http://proxy.uec.ac.jp/

../../../../_images/l2tp_macos114_setup-10.png
  1. Check Web Proxy (HTTP) and enter the following information in the right column. Enter the same information for Protected Web Proxy (HTTPS) and FPT Proxy.

Web Proxy

proxy.uec.ac.jp and 8080

../../../../_images/l2tp_macos114_setup-11.png
  1. Check SOCKS Proxy , enter the following information in the right column, and finally click OK .

SOCKS proxy server

socks.cc.uec.ac.jp and 1080

../../../../_images/l2tp_macos114_setup-12.png
  1. Click Apply and close all windows. Continue with Check VPN connection .

../../../../_images/l2tp_macos114_setup-13.png

Confirm VPN connection

  1. Open the network settings window.

Click on the Apple button ( macos1012_applemenu ) and click on System Preferences in the menu.

../../../../_images/l2tp_macos114_connect-01.png
  1. Click on Network in System Preferences .

../../../../_images/l2tp_macos114_connect-02.png
  1. Click the name of the VPN connection you created in VPN Connection Settings to select it, and click the Connect button.

../../../../_images/l2tp_macos114_connect-03.png
  1. If connected is displayed, the VPN connection was successful, as shown in the figure.

Please start your browser and check the operation by viewing a web page that can only be accessed from the campus network. When you are done, click the disconnect button to disconnect.

../../../../_images/l2tp_macos114_connect-04.png

Hint

From now on, when you want to connect to VPN, click the VPN icon ( macos1012_vpn ) in the upper right corner of the desktop, and then click the name of the VPN connection you want to connect to, as shown in the figure.

../../../../_images/l2tp_macos114_connect-05.png