After building OpenVPN, I created a user and performed VPN connection on macOS, so I’ll introduce that content.
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.
Create OpenVPN User / OpenVPN ユーザー作成
Create a user for VPN connection in OpenVPN, separate from Admin. The steps are as follows:
- Access https://YOUR_IP_ADDRESS:943/admin/ from browser / https://YOUR_IP_ADDRESS:943/admin/ へブラウザからアクセス
- Access USER MANAGEMENT - User Permissions (/admin/user_permissions) / USER MANAGEMENT - User Permissions (/admin/user_permissions) へアクセス
- 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.
- Access https://YOUR_IP_ADDRESS:943/ from browser / https://YOUR_IP_ADDRESS:943/ へブラウザからアクセス
- Login with the Username, Password created above / 上記で作成した Username, Password でログイン
- Download OpenVPN Connect v3 for macOS dmg file from Apple mark / Apple マークから OpenVPN Connect v3 for macOS の dmg ファイルをダウンロード
- Download Yourself (user-locked profile) / Yourself (user-locked profile) をダウンロード
Initial Connection with OpenVPN Connect v3 for macOS / OpenVPN Connect v3 for macOS で初回接続
- Upload Yourself (user-locked profile) / Yourself (user-locked profile) をアップロード
- Connect with the Username, Password created above / 上記で作成した Username, Password で接続
That’s all from the Gemba.