OpenVPN User Creation and VPN Connection Method [macOS Edition]

Tadashi Shigeoka ·  Sun, November 22, 2020

After building OpenVPN, I created a user and performed VPN connection on macOS, so I’ll introduce that content.

OpenVPN

Prerequisites / 前提条件

I’ll explain assuming you have an OpenVPN environment as described in How to Quickly Build a Japanese IP VPN with OpenVPN + Linode / 日本 IP の VPN を OpenVPN + Linode でサクッと構築する方法.

Login to OpenVPN Management Panel / OpenVPN 管理画面へログイン

Access https://YOUR_IP_ADDRESS:943/admin/ from your browser and confirm that you can log into the management panel.

Admin Login | OpenVPN

Create OpenVPN User / OpenVPN ユーザー作成

Create a user for VPN connection in OpenVPN, separate from Admin. The steps are as follows:

  1. Access https://YOUR_IP_ADDRESS:943/admin/ from browser / https://YOUR_IP_ADDRESS:943/admin/ へブラウザからアクセス
  2. Access USER MANAGEMENT - User Permissions (/admin/user_permissions) / USER MANAGEMENT - User Permissions (/admin/user_permissions) へアクセス
  3. Set Username, Password / Username, Password を設定

How to Connect to OpenVPN from macOS / macOS から OpenVPN へ接続する方法

I worked with reference to Connecting to OpenVPN Access Server with macOS | OpenVPN.

Download OpenVPN Connect v3 for macOS / OpenVPN Connect v3 for macOS ダウンロード

Download and install OpenVPN Connect v3 for macOS and Profile.

  1. Access https://YOUR_IP_ADDRESS:943/ from browser / https://YOUR_IP_ADDRESS:943/ へブラウザからアクセス
  2. Login with the Username, Password created above / 上記で作成した Username, Password でログイン
  3. Download OpenVPN Connect v3 for macOS dmg file from Apple mark / Apple マークから OpenVPN Connect v3 for macOS の dmg ファイルをダウンロード
  4. Download Yourself (user-locked profile) / Yourself (user-locked profile) をダウンロード
Download OpenVPN Connect App, Profile | OpenVPN

Initial Connection with OpenVPN Connect v3 for macOS / OpenVPN Connect v3 for macOS で初回接続

  1. Upload Yourself (user-locked profile) / Yourself (user-locked profile) をアップロード
  2. Connect with the Username, Password created above / 上記で作成した Username, Password で接続
Import Profile | OpenVPN

That’s all from the Gemba.